diff --git a/.ci/jenkins/Jenkinsfile.setup-branch b/.ci/jenkins/Jenkinsfile.setup-branch index 0ade29d09..a9e57d7b5 100644 --- a/.ci/jenkins/Jenkinsfile.setup-branch +++ b/.ci/jenkins/Jenkinsfile.setup-branch @@ -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 { diff --git a/.ci/jenkins/Jenkinsfile.setup-branch.cloud b/.ci/jenkins/Jenkinsfile.setup-branch.cloud index aefad5e75..04e47c395 100644 --- a/.ci/jenkins/Jenkinsfile.setup-branch.cloud +++ b/.ci/jenkins/Jenkinsfile.setup-branch.cloud @@ -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 {