Skip to content

Commit bb43937

Browse files
committed
Disable concurrent builds
1 parent 8b078ae commit bb43937

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Jenkinsfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,13 @@
33
pipeline {
44
agent none
55

6+
options {
7+
// After the Build stage the pipeline stalls, waiting for user input to confirm the release stage.
8+
// This leaves the builds in a running state even though no work is being done. Enable this option
9+
// to automatically cancel earlier stalled builds when a new one is started.
10+
disableConcurrentBuilds(abortPrevious: true)
11+
}
12+
613
tools {
714
jdk "jdk-17.0.1"
815
}

0 commit comments

Comments
 (0)