rusty-numbers/Jenkinsfile
Timothy Warren 38c2d93c0a
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
Attempt CI coverage report
2020-02-20 11:35:04 -05:00

30 lines
462 B
Groovy

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