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-kogito-pipelines.git


The following commit(s) were added to refs/heads/main by this push:
     new 42c49d12 kie-issues#1238: Update Kogito prepare-release Jenkins jobs 
to trigger nightly and weekly jobs after setting up branches (#1200)
42c49d12 is described below

commit 42c49d1212af5ba4a7f6c8a3aed2e23689862014
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Tue May 21 13:40:22 2024 -0300

    kie-issues#1238: Update Kogito prepare-release Jenkins jobs to trigger 
nightly and weekly jobs after setting up branches (#1200)
    
    * Update setup-branch job to trigger the weekly jobs as part of its 
execution
    
    * Update setup-branch job to trigger the weekly cloud jobs as part of its 
execution
---
 .ci/jenkins/Jenkinsfile.setup-branch       | 15 +++++++++++++++
 .ci/jenkins/Jenkinsfile.setup-branch.cloud | 14 ++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/.ci/jenkins/Jenkinsfile.setup-branch 
b/.ci/jenkins/Jenkinsfile.setup-branch
index 0ade29d0..a9e57d7b 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 aefad5e7..04e47c39 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 {


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

Reply via email to