diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-07 12:06:48 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-07 12:07:48 +0200 |
commit | 09b8377a43a8f068682b1f1937c3202d1b162918 (patch) | |
tree | 035ff3546e4faf118cf19ad006f9b697e0492f1d | |
parent | 0f34e1b71b090d0e8af56dd2a769ac329cdc44ef (diff) | |
download | vyos-build-09b8377a43a8f068682b1f1937c3202d1b162918.tar.gz vyos-build-09b8377a43a8f068682b1f1937c3202d1b162918.zip |
Jenkins: Docker: add build options when assembling container
(cherry picked from commit 925cf87950cc66615046219a6f18910b3722bd67)
-rw-r--r-- | Jenkinsfile.docker | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Jenkinsfile.docker b/Jenkinsfile.docker index 6a4b6d4c..7f8abe14 100644 --- a/Jenkinsfile.docker +++ b/Jenkinsfile.docker @@ -23,6 +23,12 @@ setDescription() pipeline { agent none + options { + disableConcurrentBuilds() + timeout(time: 240, unit: 'MINUTES') + timestamps() + buildDiscarder(logRotator(numToKeepStr: '20')) + } stages { stage('Build containers') { when { @@ -32,7 +38,7 @@ pipeline { // once a night triggered by the timer. anyOf { changeset pattern: "**/docker/*" - changeset pattern: "**/Jenkinsfile.docker" + changeset pattern: "**/Jenkinsfile.docker" triggeredBy cause: "UserIdCause" } } |