Files
Rack/Jenkinsfile
Cameron Cordes 3dfc01d9f1
Some checks failed
Core Repos/Rack/pipeline/head There was a failure building this commit
Fix docker image syntax
2020-06-17 13:56:52 -04:00

29 lines
422 B
Groovy

pipeline {
agent {
docker { image 'rust:1.44.0-alpine' }
}
stages {
stage('build') {
steps {
sh 'cargo build --release'
}
}
stage('lint') {
steps {
sh 'cargo clippy'
}
}
stage('test') {
steps {
sh 'cargo test'
}
}
}
post {
always {
archiveArtifacts artifacts: 'target/release/rack', fingerprint: true
}
}
}