fix(ci): reuse node properly

This commit is contained in:
andreas 2019-05-13 21:47:49 +02:00
parent 2ba3ec71b7
commit d5710f5f56

10
Jenkinsfile vendored
View File

@ -2,9 +2,13 @@ pipeline {
agent none agent none
stages { stages {
stage('build') { stage('build') {
agent { docker { image 'rust' } } agent {
steps { docker {
reuseNode true image 'rust'
reuseNode true
}
}
steps {
sh 'cargo build' sh 'cargo build'
} }
} }