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 a9450508faf Jenkins Pipelines - propagating PATH_PIPELINE to 
cors-proxy job, just helpful for troubleshooting - adjusting code for more 
Groovy style - buildUtils: fixing export in pnpmBootstrap function
a9450508faf is described below

commit a9450508fafcbde42d38c64caabaece19d101f25
Author: Eduardo Cerqueira <[email protected]>
AuthorDate: Thu May 15 14:22:50 2025 -0400

    Jenkins Pipelines
    - propagating PATH_PIPELINE to cors-proxy job, just helpful for 
troubleshooting
    - adjusting code for more Groovy style
    - buildUtils: fixing export in pnpmBootstrap function
---
 .ci/jenkins/release-jobs/Jenkinsfile.cors-proxy | 3 ++-
 .ci/jenkins/shared-scripts/buildUtils.groovy    | 5 +++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy 
b/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
index 24984c231e7..a3c411dc0fa 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
@@ -31,6 +31,7 @@ pipeline {
         string(name: 'RELEASE_VERSION', description: 'Release Version', 
defaultValue: '0.0.0')
         string(name: 'BASE_REF', description: 'GitHub Base Ref (tag or 
branch)', defaultValue: '10.1.x')
         string(name: 'RELEASE_CANDIDATE_VERSION', description: 'Release 
Candidate Version', defaultValue: '')
+        string(name: 'PIPELINE_PATH', description: 'Path to run the pipeline')
     }
 
     environment {
@@ -127,7 +128,7 @@ pipeline {
             steps {
                 dir('kie-tools') {
                     script {
-                        buildUtils.pnpmBootstrap("${env.PNPM_FILTER_STRING}", 
"${env.MAVEN_ARGS}")
+                        buildUtils.pnpmBootstrap(env.PNPM_FILTER_STRING, 
env.MAVEN_ARGS)
                     }
                 }
             }
diff --git a/.ci/jenkins/shared-scripts/buildUtils.groovy 
b/.ci/jenkins/shared-scripts/buildUtils.groovy
index a52592a761e..f40969da47a 100644
--- a/.ci/jenkins/shared-scripts/buildUtils.groovy
+++ b/.ci/jenkins/shared-scripts/buildUtils.groovy
@@ -68,8 +68,9 @@ def setupPnpm(String mavenSettingsFileId = '') {
 * PNPM Bootsrap
 */
 def pnpmBootstrap(String filters = '', String mavenArgs = '') {
-    sh """#!/bin/bash -el
-    export MAVEN_ARGS=${mavenArgs}
+    sh """
+    #!/bin/bash -el
+    export MAVEN_ARGS="${mavenArgs}"
     pnpm bootstrap ${filters}
     """.trim()
 }


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

Reply via email to