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

eduardocerqueira pushed a commit to branch 10.1.x
in repository https://gitbox.apache.org/repos/asf/incubator-kie-tools.git


The following commit(s) were added to refs/heads/10.1.x by this push:
     new 631ae38b145 Jenkins Pipelines - Release Candidate pipeline pass 
PIPELINE_PATH as paramater to set the pipelines location based on the release 
version, e.g: 10.1.x/release
631ae38b145 is described below

commit 631ae38b145453a6f5e74756b428b4ba335ebfa1
Author: Eduardo Cerqueira <[email protected]>
AuthorDate: Thu May 29 09:12:53 2025 -0400

    Jenkins Pipelines
    - Release Candidate pipeline pass PIPELINE_PATH as paramater to set the 
pipelines location based on the release version, e.g: 10.1.x/release
---
 .ci/jenkins/Jenkinsfile.release-build     | 2 +-
 .ci/jenkins/Jenkinsfile.release-candidate | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.release-build 
b/.ci/jenkins/Jenkinsfile.release-build
index fea48384170..a5abbe2d728 100644
--- a/.ci/jenkins/Jenkinsfile.release-build
+++ b/.ci/jenkins/Jenkinsfile.release-build
@@ -32,7 +32,7 @@ pipeline {
 
     parameters {
         booleanParam(name: 'DRY_RUN', description: 'Dry run', defaultValue: 
true)
-        string(name: 'PIPELINE_PATH', description: 'Path to run the pipeline', 
defaultValue: '10.1.x/release')
+        string(name: 'PIPELINE_PATH', description: 'Path to run the pipeline')
         string(name: 'BASE_REF', description: 'GitHub Base Ref (tag or 
branch)')
         string(name: 'RELEASE_VERSION', description: 'Release Version', 
defaultValue: '0.0.0')
         string(name: 'UPLOAD_ASSET_URL', description: 'Upload asset url', 
defaultValue: '')
diff --git a/.ci/jenkins/Jenkinsfile.release-candidate 
b/.ci/jenkins/Jenkinsfile.release-candidate
index b8964a3ae67..bf241dba34e 100644
--- a/.ci/jenkins/Jenkinsfile.release-candidate
+++ b/.ci/jenkins/Jenkinsfile.release-candidate
@@ -39,6 +39,7 @@ pipeline {
         string(name: 'RELEASE_VERSION', description: 'Release version', trim: 
true)
         string(name: 'TAG_NAME', description: 'Tag name to be created', trim: 
true)
         string(description: 'Runners', name: 'RUNNERS', defaultValue: 
'{"chrome_extensions":"true","cors_proxy_image":"true","dashbuilder_viewer_image":"true","dev_deployment_base_image":"true","dev_deployment_dmn_form_webapp_image":"true","dev_deployment_quakus_blank_app_image":"true","dev_deployment_upload_service":"true","extended_services":"true","jbpm_quarkus_devui":"true","kie_sandbox_image":"true","kie_sandbox_accelerator_quarkus":"true","kie_sandbox_extended_services":"true","kie
 [...]
+        string(name: 'PIPELINE_PATH', description: 'Path to run the pipeline', 
defaultValue: '10.1.x/release')
     }
 
     stages {
@@ -175,12 +176,13 @@ pipeline {
 
         stage('Build and Publish release candidate artifacts') {
             steps {
-                build job: 'KIE/kie-tools/kie-tools-release-build', 
parameters: [
+                build job: 
"KIE/kie-tools/${params.PIPELINE_PATH}/kie-tools-release-build", parameters: [
                     booleanParam(name: 'DRY_RUN', value: false),
                     string(name: 'BASE_REF', value: "${params.TAG_NAME}"),
                     string(name: 'RELEASE_VERSION', value: 
"${params.RELEASE_VERSION}"),
                     string(name: 'RUNNERS', value: "${params.RUNNERS}"),
-                    string(name: 'RELEASE_CANDIDATE_VERSION', value: 
"${params.TAG_NAME}")
+                    string(name: 'RELEASE_CANDIDATE_VERSION', value: 
"${params.TAG_NAME}"),
+                    string(name: 'PIPELINE_PATH', value: 
"${params.PIPELINE_PATH}")
                 ]
             }
         }


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

Reply via email to