Skip to content

Commit

Permalink
[8.40.x] Made deploy artifacts on setup-branch configurable (#2887)
Browse files Browse the repository at this point in the history
Made deploy artifacts on setup-branch configurable (#2866)

Co-authored-by: Andrea Lamparelli <[email protected]>
  • Loading branch information
github-actions[bot] and lampajr authored Jun 26, 2023
1 parent abb502b commit 34af02d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .ci/jenkins/dsl/jobs.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ void createProjectSetupBranchJob() {
KogitoJobTemplate.createPipelineJob(this, jobParams)?.with {
parameters {
stringParam('OPTAPLANNER_VERSION', '', 'OptaPlanner version')
booleanParam('DEPLOY_ARTIFACTS', true, 'Deploy artifacts')
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions .ci/jenkins/project/Jenkinsfile.setup-branch
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,9 @@ pipeline {

// Launch the nightly to deploy all artifacts from the branch
stage('Launch the nightly') {
when {
return params.DEPLOY_ARTIFACTS
}
steps {
script {
def buildParams = getDefaultBuildParams()
Expand Down

0 comments on commit 34af02d

Please sign in to comment.