We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bcd564 commit 7d0026eCopy full SHA for 7d0026e
Jenkinsfile
@@ -9,6 +9,19 @@ pipeline {
9
// stages are ordered according to execution time; highest time first
10
// nodes are selected based on a priority (in Jenkins config)
11
stages {
12
+ stage('abort running builds') {
13
+ /* If this is a change request, cancel previous builds if you push a new commit */
14
+ when {
15
+ changeRequest()
16
+ }
17
+ steps {
18
+ script {
19
+ def buildNumber = env.BUILD_NUMBER as int
20
+ if (buildNumber > 1) milestone(buildNumber - 1)
21
+ milestone(buildNumber)
22
23
24
25
stage('setup') {
26
parallel {
27
stage('gcc') {
0 commit comments