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-optaplanner.git


The following commit(s) were added to refs/heads/main by this push:
     new f604b5edc2 NO-ISSUE: Fix weekly Jenkins job build params (#3103)
f604b5edc2 is described below

commit f604b5edc21fa873a02736cd23c85e8acc5bce47
Author: Rodrigo Antunes <[email protected]>
AuthorDate: Fri Jun 21 10:17:47 2024 -0300

    NO-ISSUE: Fix weekly Jenkins job build params (#3103)
    
    * Fix weekly Jenkins job build params
    
    * Update quickstarts build branch
---
 .ci/jenkins/project/Jenkinsfile.weekly | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.ci/jenkins/project/Jenkinsfile.weekly 
b/.ci/jenkins/project/Jenkinsfile.weekly
index 89fb97b3e9..f7e1b2c75c 100644
--- a/.ci/jenkins/project/Jenkinsfile.weekly
+++ b/.ci/jenkins/project/Jenkinsfile.weekly
@@ -69,6 +69,8 @@ pipeline {
                     def buildParams = getDefaultBuildParams()
                     addSkipTestsParam(buildParams)
                     addSkipIntegrationTestsParam(buildParams)
+                    String quickstartsBranch = getBuildBranch() == 'main' ? 
'development' : getBuildBranch()
+                    addStringParam(buildParams, 
'QUICKSTARTS_BUILD_BRANCH_NAME', quickstartsBranch)
 
                     buildJob(OPTAPLANNER_DEPLOY, buildParams)
                 }
@@ -153,7 +155,6 @@ List getDefaultBuildParams() {
     List params = []
     addStringParam(params, 'DISPLAY_NAME', "${env.WEEKLY_TAG}")
     addStringParam(params, 'GIT_CHECKOUT_DATETIME', getCheckoutDatetime())
-    addStringParam(params, 'QUICKSTARTS_BUILD_BRANCH_NAME', getBuildBranch())
     addBooleanParam(params, 'SEND_NOTIFICATION', true)
 
     return params


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

Reply via email to