summaryrefslogtreecommitdiff
path: root/vars
diff options
context:
space:
mode:
authorqxmips <13249609+qxmips@users.noreply.github.com>2021-02-03 07:05:54 +1000
committerGitHub <noreply@github.com>2021-02-02 22:05:54 +0100
commit38fa98af45d6c22d7d876bc724d957d2545d011a (patch)
treeb5738c35b4353300c21db931d39ef9d14c6eeb04 /vars
parent27d0d96ccdcc2b93e5900eb1b22e2fdae429c4ef (diff)
downloadvyos-build-38fa98af45d6c22d7d876bc724d957d2545d011a.tar.gz
vyos-build-38fa98af45d6c22d7d876bc724d957d2545d011a.zip
Jenkins: run containers with "reuseNode" to stay on the same node
Diffstat (limited to 'vars')
-rw-r--r--vars/buildPackage.groovy1
1 files changed, 1 insertions, 0 deletions
diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy
index 0fe81a17..1384682a 100644
--- a/vars/buildPackage.groovy
+++ b/vars/buildPackage.groovy
@@ -49,6 +49,7 @@ def call(description=null, pkgList=null, buildCmd=null) {
pipeline {
agent {
docker {
+ reuseNode true
args "--sysctl net.ipv6.conf.lo.disable_ipv6=0 -e GOSU_UID=1006 -e GOSU_GID=1006"
image "${env.DOCKER_IMAGE}"
alwaysPull true