Skip to content

Commit 941156f

Browse files
Jenkinsfile: limit jobs to one per branch.
1 parent d7419bb commit 941156f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Jenkinsfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ pipeline {
3232
options {
3333
buildDiscarder(logRotator(numToKeepStr: buildsToKeep, artifactNumToKeepStr: buildsToKeep))
3434
timeout(time: 1, unit: 'HOURS') // If build hangs (regular build should be much quicker)
35+
disableConcurrentBuilds() // limit to 1 job per branch
3536
gitLabConnection('objectbox-gitlab-connection')
3637
}
3738

0 commit comments

Comments
 (0)