Merge branch 'master' into age-validator-client

This commit is contained in:
Age Manning
2019-03-28 17:45:17 +11:00

22
Jenkinsfile vendored
View File

@@ -1,20 +1,22 @@
pipeline { pipeline {
agent { agent {
dockerfile { dockerfile {
filename 'Dockerfile' filename 'Dockerfile'
args '-v cargo-cache:/cargocache:rw -e "CARGO_HOME=/cargocache"' args '-v cargo-cache:/cargocache:rw -e "CARGO_HOME=/cargocache"'
} }
} }
stages { stages {
stage('Build') { stage('Build') {
steps {
sh 'cargo build'
}
}
stage('Test') {
steps { steps {
sh 'cargo test --all' sh 'cargo build --verbose --all'
sh 'cargo build --verbose --all --release'
} }
} }
} stage('Test') {
steps {
sh 'cargo test --verbose --all'
sh 'cargo test --verbose --all --release'
}
}
}
} }