Skip to content

Commit

Permalink
Update setup-branch job to trigger the weekly job as part of its exec…
Browse files Browse the repository at this point in the history
…ution
  • Loading branch information
rodrigonull committed May 20, 2024
1 parent 3d3a981 commit 1f72ceb
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .ci/jenkins/project/Jenkinsfile.setup-branch
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,25 @@ pipeline {
}
}
}

// Launch the weekly to deploy all artifacts from the branch
stage('Launch the weekly') {
when {
expression { return params.DEPLOY }
}
steps {
script {
def buildParams = getDefaultBuildParams()
addBooleanParam(buildParams, 'SKIP_TESTS', true)
build(job: '../other/0-weekly', wait: false, parameters: buildParams, propagate: false)
}
}
post {
failure {
addFailedStage('weekly')
}
}
}
}
post {
unsuccessful {
Expand Down

0 comments on commit 1f72ceb

Please sign in to comment.