chore(jenkins): cancel older jobs
All checks were successful
arcad/emissary/pipeline/head This commit looks good

This commit is contained in:
wpetit 2023-04-06 15:12:06 +02:00
parent 9a46c9d3d0
commit 9dcddc5566

10
Jenkinsfile vendored
View File

@ -10,6 +10,16 @@ pipeline {
}
stages {
stage('Cancel older jobs') {
steps {
script {
def buildNumber = env.BUILD_NUMBER as int
if (buildNumber > 1) milestone(buildNumber - 1)
milestone(buildNumber)
}
}
}
stage('Run unit tests') {
steps {
script {