summaryrefslogtreecommitdiff
path: root/Jenkinsfile.docker
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-09-07 12:06:48 +0200
committerChristian Poessinger <christian@poessinger.com>2021-09-07 12:06:48 +0200
commit925cf87950cc66615046219a6f18910b3722bd67 (patch)
tree7d4cd2bc4fa9ae6cb6bd1207333367251c300676 /Jenkinsfile.docker
parent78683d43edf8af459b4a23080435c49e2640f469 (diff)
downloadvyos-build-925cf87950cc66615046219a6f18910b3722bd67.tar.gz
vyos-build-925cf87950cc66615046219a6f18910b3722bd67.zip
Jenkins: Docker: add build options when assembling container
Diffstat (limited to 'Jenkinsfile.docker')
-rw-r--r--Jenkinsfile.docker6
1 files changed, 6 insertions, 0 deletions
diff --git a/Jenkinsfile.docker b/Jenkinsfile.docker
index 5216ff2b..8f7ceb8e 100644
--- a/Jenkinsfile.docker
+++ b/Jenkinsfile.docker
@@ -26,6 +26,12 @@ pipeline {
environment {
GIT_BRANCH_NAME = getGitBranchName()
}
+ options {
+ disableConcurrentBuilds()
+ timeout(time: 240, unit: 'MINUTES')
+ timestamps()
+ buildDiscarder(logRotator(numToKeepStr: '20'))
+ }
stages {
stage('Build containers') {
when {