summaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-02-08 19:51:55 +0100
committerChristian Poessinger <christian@poessinger.com>2021-02-08 19:51:55 +0100
commit26d9d6fb2ed8092d9adfb2216a58a7d9e62d385e (patch)
tree9840d852a5f9e98f4620f268d3b63aab57733c60 /vars
parent65bece336b59a8bdfa3561bb670425df09aad013 (diff)
downloadvyos-build-26d9d6fb2ed8092d9adfb2216a58a7d9e62d385e.tar.gz
vyos-build-26d9d6fb2ed8092d9adfb2216a58a7d9e62d385e.zip
Jenkins: reuseNode when building with Docker
Diffstat (limited to 'vars')
-rw-r--r--vars/buildPackage.groovy2
1 files changed, 2 insertions, 0 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy
index eea399ea..de3914c2 100644
--- a/vars/buildPackage.groovy
+++ b/vars/buildPackage.groovy
@@ -63,6 +63,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) {
args "${env.DOCKER_ARGS}"
image "${env.DOCKER_IMAGE}"
alwaysPull true
+ reuseNode true
}
}
environment {
@@ -82,6 +83,7 @@ def call(description=null, pkgList=null, buildCmd=null, buildArm=false) {
args "${env.DOCKER_ARGS}"
image "${env.DOCKER_IMAGE}-arm64"
alwaysPull true
+ reuseNode true
}
}
when {