From d7abf053e389814f4ae30d50341c8d5135c3f924 Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Mon, 20 May 2024 16:27:08 -0300 Subject: [PATCH] Update setup-branch job to trigger the weekly cloud jobs as part of its execution --- .ci/jenkins/Jenkinsfile.setup-branch.cloud | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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 {