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:06:48 +0200 |
commit | 925cf87950cc66615046219a6f18910b3722bd67 (patch) | |
tree | 7d4cd2bc4fa9ae6cb6bd1207333367251c300676 /Jenkinsfile.docker | |
parent | 78683d43edf8af459b4a23080435c49e2640f469 (diff) | |
download | vyos-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.docker | 6 |
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 { |