Skip to content

Commit

Permalink
fix nightly builds for develop branch (hyperledger-iroha#1156)
Browse files Browse the repository at this point in the history
Signed-off-by: tyvision <[email protected]>
  • Loading branch information
tyvision authored and x3medima17 committed Mar 30, 2018
1 parent e946cce commit 12a9cbc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ pipeline {
builds.cancelSameJobBuilds()
}
}
else {
if (!params.Nightly) {
// Stop same job running builds if it is develop but it is not nightly
def builds = load ".jenkinsci/cancel-builds-same-job.groovy"
builds.cancelSameJobBuilds()
}
}
}
}
}
Expand Down

0 comments on commit 12a9cbc

Please sign in to comment.