This is an automated email from the ASF dual-hosted git repository.

rantunes pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-drools.git


The following commit(s) were added to refs/heads/main by this push:
     new 457de463a1 Update setup-branch job to trigger the weekly job as part 
of its execution (#5964)
457de463a1 is described below

commit 457de463a1f3117eaef96847888eaf09b57839d8
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Tue May 21 15:53:17 2024 -0300

    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 b1fd37ebc4..defcc61f84 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 {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to