Merge branch 'master' into age-validator-client
This commit is contained in:
commit
299e6a0f89
22
Jenkinsfile
vendored
22
Jenkinsfile
vendored
@ -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'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user