This repository has been archived on 2024-06-25. You can view files and clone it, but cannot push or open issues or pull requests.
va416xx/automation/Jenkinsfile
Robin Mueller b9acaff6c2
Some checks failed
Rust/va416xx/pipeline/head There was a failure building this commit
add automation files
2021-12-10 10:23:16 +01:00

39 lines
844 B
Groovy

pipeline {
agent any
stages {
stage('Clippy') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo clippy'
}
}
stage('Rustfmt') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo fmt'
}
}
stage('Check') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo check --target thumbv7em-none-eabihf'
}
}
}
}