Skip to content

Commit

Permalink
kie-issues#1238: Update Kogito prepare-release Jenkins jobs to trigge…
Browse files Browse the repository at this point in the history
…r nightly and weekly jobs after setting up branches (#1200)

* Update setup-branch job to trigger the weekly jobs as part of its execution

* Update setup-branch job to trigger the weekly cloud jobs as part of its execution
  • Loading branch information
rodrigonull authored May 21, 2024
1 parent 4082e3d commit 42c49d1
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .ci/jenkins/Jenkinsfile.setup-branch
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,21 @@ 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)
addBooleanParam(buildParams, 'SKIP_CLOUD_NIGHTLY', true)
build(job: '../other/0-kogito-weekly', wait: false, parameters: buildParams, propagate: false)
}
}
}
}
post {
unsuccessful {
Expand Down
14 changes: 14 additions & 0 deletions .ci/jenkins/Jenkinsfile.setup-branch.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,20 @@ 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-kogito-weekly-cloud', wait: false, parameters: buildParams, propagate: false)
}
}
}
}
post {
unsuccessful {
Expand Down

0 comments on commit 42c49d1

Please sign in to comment.