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

39 lines
868 B
Plaintext
Raw Normal View History

2021-12-10 10:23:16 +01:00
pipeline {
agent any
stages {
// stage('Clippy') {
// agent {
// dockerfile {
// dir 'automation'
// reuseNode true
// }
// }
// steps {
// sh 'cargo clippy'
// }
// }
2021-12-10 10:23:16 +01:00
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'
}
}
}
}