fix(ci): reuse node properly
This commit is contained in:
parent
2ba3ec71b7
commit
d5710f5f56
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user