spacepackets/automation/Jenkinsfile
Robin Mueller 72b8f45161
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
small jenkinsfile fix
2022-08-16 10:38:06 +02:00

38 lines
708 B
Groovy

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