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 5f5f58b8425 Jenkins pipelines - PIPELINE_PATH: to set path to where 
the pipelines are located, and will be invoked. Ability to have multiple 
folders under https://ci-builds.apache.org/job/KIE/job/kie-tools/job - removed 
docker.io to docker image path
5f5f58b8425 is described below

commit 5f5f58b8425f236cd313ac914903e9217f592099
Author: Eduardo Cerqueira <[email protected]>
AuthorDate: Thu May 15 13:35:55 2025 -0400

    Jenkins pipelines
    - PIPELINE_PATH: to set path to where the pipelines are located, and will 
be invoked. Ability to have multiple folders under 
https://ci-builds.apache.org/job/KIE/job/kie-tools/job
    - removed docker.io to docker image path
---
 .ci/jenkins/Jenkinsfile.release-build           | 5 +++--
 .ci/jenkins/Jenkinsfile.release-dry-run         | 6 ++++--
 .ci/jenkins/release-jobs/Jenkinsfile.cors-proxy | 2 +-
 3 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/.ci/jenkins/Jenkinsfile.release-build 
b/.ci/jenkins/Jenkinsfile.release-build
index 8dc2c326525..48a1755b5b5 100644
--- a/.ci/jenkins/Jenkinsfile.release-build
+++ b/.ci/jenkins/Jenkinsfile.release-build
@@ -20,7 +20,7 @@
 pipeline {
     agent {
         docker {
-            image 'docker.io/apache/incubator-kie-tools-ci-build:10.1.999'
+            image 'apache/incubator-kie-tools-ci-build:10.1.999'
             args '--shm-size=2g --privileged --group-add docker'
             label util.avoidFaultyNodes()
         }
@@ -32,6 +32,7 @@ pipeline {
 
     parameters {
         booleanParam(name: 'DRY_RUN', description: 'Dry run', defaultValue: 
true)
+        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: '')
@@ -828,7 +829,7 @@ def kieSandboxExtendedServicesImageBuildJob() {
 
 def corsProxyImageBuildJob() {
     env.CORS_PROXY_IMAGE_JOB_RESULT = build(
-        job: 'KIE/kie-tools/individual-release-artifacts-jobs/cors-proxy',
+        job: 
'KIE/kie-tools/${params.PIPELINE_PATH}/individual-release-artifacts-jobs/cors-proxy',
         parameters: [
             booleanParam(name: 'DRY_RUN', value: "${params.DRY_RUN}"),
             string(name: 'BASE_REF', value: "${params.BASE_REF}"),
diff --git a/.ci/jenkins/Jenkinsfile.release-dry-run 
b/.ci/jenkins/Jenkinsfile.release-dry-run
index 41981247c1c..1d07bff43ec 100644
--- a/.ci/jenkins/Jenkinsfile.release-dry-run
+++ b/.ci/jenkins/Jenkinsfile.release-dry-run
@@ -22,7 +22,7 @@ import groovy.json.JsonOutput
 pipeline {
     agent {
         docker {
-            image 'docker.io/apache/incubator-kie-tools-ci-build:10.1.999'
+            image 'apache/incubator-kie-tools-ci-build:10.1.999'
             label util.avoidFaultyNodes()
         }
     }
@@ -33,6 +33,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: 'BASE_REF', description: 'GitHub Base Ref (tag or 
branch)', defaultValue: '10.1.x')
 
         booleanParam(name: 'chrome_extensions', description: 'Build chrome 
extensions', defaultValue: false)
@@ -103,8 +104,9 @@ pipeline {
                     ]
                     def runnersJson = JsonOutput.toJson(runnersMap)
 
-                    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: params.DRY_RUN),
+                        string(name: 'PIPELINE_PATH', value: 
params.PIPELINE_PATH),
                         string(name: 'BASE_REF', value: params.BASE_REF),
                         string(name: 'RUNNERS', value: runnersJson)
                     ]
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy 
b/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
index 0382bb34502..24984c231e7 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
@@ -17,7 +17,7 @@
 pipeline {
     agent {
         docker {
-            image 'docker.io/apache/incubator-kie-tools-ci-build:10.1.999'
+            image 'apache/incubator-kie-tools-ci-build:10.1.999'
             args '--shm-size=2g --privileged --group-add docker'
         }
     }


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

Reply via email to