rusty-numbers/Jenkinsfile
Timothy Warren b6884ec39d
Some checks failed
timw4mail/rusty-numbers/pipeline/head There was a failure building this commit
Attempt to solve a CI permissions issue take 4
2020-03-04 16:12:25 -05:00

31 lines
538 B
Groovy

pipeline {
agent {
dockerfile {
image 'rust:latest'
args '--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: 'cobertura.xml'
}
}
}