Skip to content

Commit 69a7703

Browse files
committed
Update Jenkinsfile
1 parent 610b7dc commit 69a7703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pipeline {
22
options {
33
timeout(time: 40, unit: 'MINUTES')
4-
buildDiscarder(logRotator(numToKeepStr: '100', artifactNumToKeepStr: '15', artifactDaysToKeepStr: '99'))
4+
buildDiscarder(logRotator(numToKeepStr: (env.BRANCH_NAME == 'master' || env.BRANCH_NAME ==~ 'BETA.*') ? '100':'5', artifactNumToKeepStr: (env.BRANCH_NAME == 'master' || env.BRANCH_NAME ==~ 'BETA.*') ? '15':'2'))
55
disableConcurrentBuilds(abortPrevious: true)
66
timestamps()
77
}

0 commit comments

Comments
 (0)