lighthouse/Jenkinsfile

28 lines
528 B
Plaintext
Raw Normal View History

pipeline {
agent {
dockerfile {
filename 'Dockerfile'
2019-03-25 05:13:46 +00:00
args '-v cargo-cache:/cargocache:rw -e "CARGO_HOME=/cargocache"'
}
}
stages {
stage('Build') {
steps {
sh 'cargo build'
}
}
stage('Check') {
steps {
sh 'cargo fmt --all -- --check'
// No clippy until later...
//sh 'cargo clippy'
}
}
stage('Test') {
steps {
sh 'cargo test --all'
}
}
}
}