diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-02-08 19:51:55 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-02-08 19:51:55 +0100 |
commit | 26d9d6fb2ed8092d9adfb2216a58a7d9e62d385e (patch) | |
tree | 9840d852a5f9e98f4620f268d3b63aab57733c60 /vars | |
parent | 65bece336b59a8bdfa3561bb670425df09aad013 (diff) | |
download | vyos-build-26d9d6fb2ed8092d9adfb2216a58a7d9e62d385e.tar.gz vyos-build-26d9d6fb2ed8092d9adfb2216a58a7d9e62d385e.zip |
Jenkins: reuseNode when building with Docker
Diffstat (limited to 'vars')
-rw-r--r-- | vars/buildPackage.groovy | 2 |
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 { |