From 1f72cebf9c9dac11df1fdb700281acc9a378625e Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Mon, 20 May 2024 16:59:09 -0300 Subject: [PATCH] Update setup-branch job to trigger the weekly job as part of its execution --- .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 {