From 925cf87950cc66615046219a6f18910b3722bd67 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 7 Sep 2021 12:06:48 +0200 Subject: Jenkins: Docker: add build options when assembling container --- Jenkinsfile.docker | 6 ++++++ 1 file changed, 6 insertions(+) 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 { -- cgit v1.2.3