Skip to content

Commit

Permalink
Made deploy artifacts on setup-branch configurable (#5285)
Browse files Browse the repository at this point in the history
  • Loading branch information
lampajr committed Jun 26, 2023
1 parent ad19dc5 commit 8bf88eb
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 @@ -53,6 +53,7 @@ void createProjectSetupBranchJob() {
KogitoJobTemplate.createPipelineJob(this, jobParams)?.with {
parameters {
stringParam('DROOLS_VERSION', '', 'Drools 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 @@ -64,6 +64,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 8bf88eb

Please sign in to comment.