rusty-numbers/Jenkinsfile
Timothy Warren 28dc9e4428
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
Use the correct make command for coverage generation
2020-02-20 11:57:04 -05:00

31 lines
505 B
Groovy

pipeline {
agent {
docker {
image 'rust:latest'
args '-u root --privileged'
}
}
stages {
stage('Check') {
steps {
sh "cargo check"
}
}
stage('Test') {
steps {
sh "cargo test"
}
}
stage('Coverage') {
steps {
sh "cargo install cargo-tarpaulin"
sh "make generate-coverage"
}
}
}
post {
always {
cobertura coberturaReportFile: '*/.xml'
}
}
}