From 457de463a1f3117eaef96847888eaf09b57839d8 Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Tue, 21 May 2024 15:53:17 -0300 Subject: [PATCH] Update setup-branch job to trigger the weekly job as part of its execution (#5964) --- .ci/jenkins/project/Jenkinsfile.setup-branch | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.ci/jenkins/project/Jenkinsfile.setup-branch b/.ci/jenkins/project/Jenkinsfile.setup-branch index b1fd37ebc4f..defcc61f84c 100644 --- a/.ci/jenkins/project/Jenkinsfile.setup-branch +++ b/.ci/jenkins/project/Jenkinsfile.setup-branch @@ -108,6 +108,25 @@ 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-weekly', wait: false, parameters: buildParams, propagate: false) + } + } + post { + failure { + addFailedStage('weekly') + } + } + } } post { unsuccessful {