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 22f11ad9816 Jenkins Pipelines - updating kogito-base-builder-image 
pipeline to applying standards as other stable pipelines
22f11ad9816 is described below

commit 22f11ad9816aa93dbf0a4a8c4abe7e41477492b0
Author: Eduardo Cerqueira <[email protected]>
AuthorDate: Sat May 17 15:12:49 2025 -0400

    Jenkins Pipelines
    - updating kogito-base-builder-image pipeline to applying standards as 
other stable pipelines
---
 .../Jenkinsfile.kie-sandbox-accelerator-quarkus             |  1 -
 .../release-jobs/Jenkinsfile.kogito-base-builder-image      | 13 +++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git 
a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus 
b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus
index 45ddb5ec8b6..29ad1da47a9 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus
@@ -81,7 +81,6 @@ pipeline {
                             "${params.BASE_REF}",
                             "${pipelineVars.kieToolsBotGithubCredentialsId}"
                         )
-
                         githubUtils.setupGitConfig()
                     }
                 }
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-base-builder-image 
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-base-builder-image
index 481738bd9a3..c00cabf77c6 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-base-builder-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-base-builder-image
@@ -46,12 +46,9 @@ pipeline {
         KOGITO_BASE_BUILDER_IMAGE__buildTag = "${params.RELEASE_VERSION}"
 
         RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"
-
         DOCKER_CONFIG = "${WORKSPACE}/.docker"
-
         PNPM_FILTER_STRING = '-F @kie/kogito-base-builder-image...'
-
-        MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+        MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
     }
 
     stages {
@@ -90,6 +87,7 @@ pipeline {
                             "${params.BASE_REF}",
                             "${pipelineVars.kieToolsBotGithubCredentialsId}"
                         )
+                        githubUtils.setupGitConfig()
                     }
                 }
             }
@@ -99,7 +97,7 @@ pipeline {
             steps {
                 dir('kie-tools') {
                     script {
-                        buildUtils.setupPnpm()
+                        
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
                     }
                 }
             }
@@ -119,7 +117,10 @@ pipeline {
             steps {
                 dir('kie-tools') {
                     script {
-                        buildUtils.pnpmBuild(env.PNPM_FILTER_STRING, 
env.MAVEN_ARGS)
+                        env.KIE_TOOLS_BUILD__mavenDeploySkip = params.DRY_RUN 
? 'true' : 'false'
+                        
withEnv(["KIE_TOOLS_BUILD__mavenDeploySkip=${env.KIE_TOOLS_BUILD__mavenDeploySkip}"])
 {
+                            buildUtils.pnpmBuild(env.PNPM_FILTER_STRING, 
env.MAVEN_ARGS)
+                        }
                     }
                 }
             }


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

Reply via email to