rusty-numbers/Jenkinsfile
Timothy Warren 101a37b6bc
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
Tests and fixes
2020-03-05 16:24:33 -05:00

32 lines
564 B
Groovy

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