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 70f82f6387f Jenkins Pipelines - kogito-serverless-operator: set GH
user/email, and applying pipeline's standard for pnpmBuild with DRY_RUN check
70f82f6387f is described below
commit 70f82f6387fada63c05c9cde3f4d692ddb8d5522
Author: Eduardo Cerqueira <[email protected]>
AuthorDate: Sat May 17 15:17:29 2025 -0400
Jenkins Pipelines
- kogito-serverless-operator: set GH user/email, and applying pipeline's
standard for pnpmBuild with DRY_RUN check
---
.../release-jobs/Jenkinsfile.kogito-serverless-operator | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-serverless-operator
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-serverless-operator
index 5780fba7966..f56019cff5c 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-serverless-operator
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-serverless-operator
@@ -46,14 +46,10 @@ pipeline {
SONATAFLOW_OPERATOR__buildTag = "${params.RELEASE_VERSION}"
MAVEN_SETTINGS_PATH = "${WORKSPACE}/kie-settings.xml"
-
RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"
-
DOCKER_CONFIG = "${WORKSPACE}/.docker"
-
PNPM_FILTER_STRING = '-F @kie-tools/sonataflow-operator...'
-
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -150,7 +146,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]