rusty-numbers/Jenkinsfile
Timothy Warren f49d1798e2
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
Try using custom dockerfile to cut down on time for code coverage
2020-02-21 08:34:50 -05:00

29 lines
471 B
Groovy

pipeline {
agent {
dockerfile {
args '-u root --privileged'
}
}
stages {
stage('Check') {
steps {
sh "cargo check"
}
}
stage('Test') {
steps {
sh "cargo test"
}
}
stage('Coverage') {
steps {
sh "make generate-coverage"
}
}
}
post {
always {
cobertura coberturaReportFile: 'cobertura.xml'
}
}
}