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 40329c5e813 Jenkins Pipelines - set dep order
40329c5e813 is described below
commit 40329c5e813e734c34124bcd1043cba3250abbab
Author: Eduardo Cerqueira <[email protected]>
AuthorDate: Tue Jun 3 13:38:22 2025 -0400
Jenkins Pipelines
- set dep order
---
.ci/jenkins/Jenkinsfile.release-build | 220 ++++++++++-----------
.../release-jobs/Jenkinsfile.chrome-extensions | 14 +-
.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy | 14 +-
.../Jenkinsfile.dashbuilder-viewer-image | 16 +-
.../Jenkinsfile.dev-deployment-base-image | 16 +-
...enkinsfile.dev-deployment-dmn-form-webapp-image | 16 +-
...kinsfile.dev-deployment-quarkus-blank-app-image | 16 +-
.../Jenkinsfile.dev-deployment-upload-service | 16 +-
.../release-jobs/Jenkinsfile.extended-services | 16 +-
.../release-jobs/Jenkinsfile.jbpm-quarkus-devui | 12 ++
.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox | 14 +-
.../Jenkinsfile.kie-sandbox-accelerator-quarkus | 12 ++
.../Jenkinsfile.kie-sandbox-extended-services | 16 +-
.../Jenkinsfile.kie-sandbox-helm-chart | 16 +-
.../release-jobs/Jenkinsfile.kn-plugin-workflow | 14 +-
.../Jenkinsfile.kogito-base-builder-image | 12 ++
.../Jenkinsfile.kogito-data-index-ephemeral-image | 12 ++
.../Jenkinsfile.kogito-data-index-postgresql-image | 12 ++
.../Jenkinsfile.kogito-db-migrator-tool | 16 +-
.../Jenkinsfile.kogito-jit-runner-image | 12 ++
.../Jenkinsfile.kogito-jobs-service-allinone-image | 12 ++
...Jenkinsfile.kogito-jobs-service-ephemeral-image | 12 ++
...enkinsfile.kogito-jobs-service-postgresql-image | 12 ++
.../Jenkinsfile.kogito-management-console | 16 +-
.../Jenkinsfile.kogito-serverless-operator | 12 ++
.../release-jobs/Jenkinsfile.kogito-swf-builder | 12 ++
.../release-jobs/Jenkinsfile.kogito-swf-devmode | 12 ++
.ci/jenkins/release-jobs/Jenkinsfile.npm-packages | 16 +-
.ci/jenkins/release-jobs/Jenkinsfile.online-editor | 16 +-
.../Jenkinsfile.runtime-tools-consoles-helm-chart | 16 +-
.../Jenkinsfile.serverless-logic-web-tools | 16 +-
...e.serverless-logic-web-tools-base-builder-image | 16 +-
...le.serverless-logic-web-tools-swf-builder-image | 14 +-
...e.serverless-logic-web-tools-swf-dev-mode-image | 14 +-
.../Jenkinsfile.sonataflow-management-console | 12 ++
.../Jenkinsfile.sonataflow-quarkus-devui | 12 ++
.../Jenkinsfile.standalone-editors-cdn | 16 +-
.../release-jobs/Jenkinsfile.vscode-extensions-dev | 16 +-
38 files changed, 594 insertions(+), 150 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.release-build
b/.ci/jenkins/Jenkinsfile.release-build
index c0d2b71ba4b..85078ff14dc 100644
--- a/.ci/jenkins/Jenkinsfile.release-build
+++ b/.ci/jenkins/Jenkinsfile.release-build
@@ -176,17 +176,6 @@ pipeline {
}
}
- stage('Dev Deployment Quarkus Blank App Image') {
- when {
- expression {
env.DEV_DEPLOYMENT_QUARKUS_BLANK_APP_IMAGE == 'true' }
- }
- steps {
- script {
- devDeploymentQuarkusBlankAppImageBuildJob()
- }
- }
- }
-
stage('Dev Deployment Upload Service') {
when {
expression { env.DEV_DEPLOYMENT_UPLOAD_SERVICE ==
'true' }
@@ -231,140 +220,151 @@ pipeline {
}
}
- stage('Serverless Logic Web Tools Swf Builder Image') {
+ stage('JBPM Quarkus Dev UI') {
when {
- expression {
env.SERVERLESS_LOGIC_WEB_TOOLS_SWF_BUILDER_IMAGE == 'true' }
+ expression { env.JBPM_QUARKUS_DEVUI == 'true' }
}
steps {
script {
- serverlessLogicWebToolsSwfBuilderImageBuildJob()
+ jbpmQuarkusDevuiBuildJob()
}
}
}
- stage('Serverless Logic Web Tools Swf Dev Mode Image') {
+ stage('Sonataflow Quarkus Dev UI') {
when {
- expression {
env.SERVERLESS_LOGIC_WEB_TOOLS_SWF_DEV_MODE_IMAGE == 'true' }
+ expression { env.SONATAFLOW_QUARKUS_DEVUI == 'true' }
}
steps {
script {
- serverlessLogicWebToolsSwfDevModeImageBuildJob()
+ sonataflowQuarkusDevuiBuildJob()
}
}
}
- stage('Serverless Logic Web Tools Base Builder Image') {
- when {
- expression {
env.SERVERLESS_LOGIC_WEB_TOOLS_BASE_BUILDER_IMAGE == 'true' }
- }
- steps {
- script {
- serverlessLogicWebToolsBaseBuilderImageBuildJob()
+ stage('Dependant build #1') {
+ stages {
+ stage('Dev Deployment Quarkus Blank App Image') {
+ when {
+ expression {
env.DEV_DEPLOYMENT_QUARKUS_BLANK_APP_IMAGE == 'true' }
+ }
+ steps {
+ script {
+ devDeploymentQuarkusBlankAppImageBuildJob()
+ }
+ }
}
- }
- }
- stage('Dashbuilder Viewer Image') {
- when {
- expression { env.DASHBUILDER_VIEWER_IMAGE == 'true' }
- }
- steps {
- script {
- dashbuilderViewerImageBuildJob()
+ stage('Sonataflow Management Console') {
+ when {
+ expression { env.SONATAFLOW_MANAGEMENT_CONSOLE
== 'true' }
+ }
+ steps {
+ script {
+ sonataflowManagementConsoleBuildJob()
+ }
+ }
+ }
+
+ stage('Serverless Logic Web Tools Swf Builder Image') {
+ when {
+ expression {
env.SERVERLESS_LOGIC_WEB_TOOLS_SWF_BUILDER_IMAGE == 'true' }
+ }
+ steps {
+ script {
+
serverlessLogicWebToolsSwfBuilderImageBuildJob()
+ }
+ }
}
- }
- }
- stage('Serverless Logic Web Tools') {
- when {
- expression { env.SERVERLESS_LOGIC_WEB_TOOLS == 'true' }
- }
- steps {
- script {
- serverlessLogicWebToolsBuildJob()
+ stage('Serverless Logic Web Tools Swf Dev Mode Image')
{
+ when {
+ expression {
env.SERVERLESS_LOGIC_WEB_TOOLS_SWF_DEV_MODE_IMAGE == 'true' }
+ }
+ steps {
+ script {
+
serverlessLogicWebToolsSwfDevModeImageBuildJob()
+ }
+ }
}
- }
- }
- stage('Kogito Management Console Image') {
- when {
- expression { env.KOGITO_MANAGEMENT_CONSOLE == 'true' }
- }
- steps {
- script {
- kogitoManagementConsoleBuildJob()
+ stage('Serverless Logic Web Tools Base Builder Image')
{
+ when {
+ expression {
env.SERVERLESS_LOGIC_WEB_TOOLS_BASE_BUILDER_IMAGE == 'true' }
+ }
+ steps {
+ script {
+
serverlessLogicWebToolsBaseBuilderImageBuildJob()
+ }
+ }
}
- }
- }
- stage('Kogito SWF Builder Image') {
- when {
- expression { env.KOGITO_SWF_BUILDER == 'true' }
- }
- steps {
- script {
- kogitoSwfBuilderBuildJob()
+ stage('Dashbuilder Viewer Image') {
+ when {
+ expression { env.DASHBUILDER_VIEWER_IMAGE ==
'true' }
+ }
+ steps {
+ script {
+ dashbuilderViewerImageBuildJob()
+ }
+ }
}
- }
- }
- stage('Kogito SWF Devmode Image') {
- when {
- expression { env.KOGITO_SWF_DEVMODE == 'true' }
- }
- steps {
- script {
- kogitoSwfDevmodeBuildJob()
+ stage('Serverless Logic Web Tools') {
+ when {
+ expression { env.SERVERLESS_LOGIC_WEB_TOOLS ==
'true' }
+ }
+ steps {
+ script {
+ serverlessLogicWebToolsBuildJob()
+ }
+ }
}
- }
- }
- stage('Kogito Serverless Operator Image') {
- when {
- expression { env.KOGITO_SERVERLESS_OPERATOR == 'true' }
- }
- steps {
- script {
- kogitoServerlessOperatorBuildJob()
+ stage('Kogito Management Console Image') {
+ when {
+ expression { env.KOGITO_MANAGEMENT_CONSOLE ==
'true' }
+ }
+ steps {
+ script {
+ kogitoManagementConsoleBuildJob()
+ }
+ }
}
- }
- }
- stage('JBPM Quarkus Dev UI') {
- when {
- expression { env.JBPM_QUARKUS_DEVUI == 'true' }
- }
- steps {
- script {
- jbpmQuarkusDevuiBuildJob()
+ stage('Kogito SWF Builder Image') {
+ when {
+ expression { env.KOGITO_SWF_BUILDER == 'true' }
+ }
+ steps {
+ script {
+ kogitoSwfBuilderBuildJob()
+ }
+ }
}
- }
- }
- stage('Sonataflow Quarkus Dev UI') {
- when {
- expression { env.SONATAFLOW_QUARKUS_DEVUI == 'true' }
- }
- steps {
- script {
- sonataflowQuarkusDevuiBuildJob()
+ stage('Kogito SWF Devmode Image') {
+ when {
+ expression { env.KOGITO_SWF_DEVMODE == 'true' }
+ }
+ steps {
+ script {
+ kogitoSwfDevmodeBuildJob()
+ }
+ }
}
- }
- }
- stage('Sonataflow Management Console') {
- when {
- expression { env.SONATAFLOW_MANAGEMENT_CONSOLE ==
'true' }
- }
- steps {
- script {
- sonataflowManagementConsoleBuildJob()
+ stage('Kogito Serverless Operator Image') {
+ when {
+ expression { env.KOGITO_SERVERLESS_OPERATOR ==
'true' }
+ }
+ steps {
+ script {
+ kogitoServerlessOperatorBuildJob()
+ }
+ }
}
- }
- }
-
- stage('Dependant build #1') {
- stages {
+
stage('Dev Deployment Base Image') {
when {
expression { env.DEV_DEPLOYMENT_BASE_IMAGE ==
'true' }
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.chrome-extensions
b/.ci/jenkins/release-jobs/Jenkinsfile.chrome-extensions
index ee12939f791..822ed1720aa 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.chrome-extensions
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.chrome-extensions
@@ -53,7 +53,7 @@ pipeline {
PNPM_FILTER_STRING = '-F chrome-extension-pack-kogito-kie-editors...
-F chrome-extension-serverless-workflow-editor...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -132,6 +132,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
b/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
index 7a3bd8f418e..1c87e699c5a 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.cors-proxy
@@ -55,7 +55,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/cors-proxy-image...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -134,6 +134,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.dashbuilder-viewer-image
b/.ci/jenkins/release-jobs/Jenkinsfile.dashbuilder-viewer-image
index 2461eef09d4..fa4c7299da2 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.dashbuilder-viewer-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.dashbuilder-viewer-image
@@ -51,7 +51,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/dashbuilder-viewer-image...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -113,7 +113,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -129,6 +129,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-base-image
b/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-base-image
index 9953f797101..d1cf9c22f68 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-base-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-base-image
@@ -51,7 +51,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/dev-deployment-base-image...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -99,7 +99,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -115,6 +115,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-dmn-form-webapp-image
b/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-dmn-form-webapp-image
index 948942adbee..1b75e9cda07 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-dmn-form-webapp-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-dmn-form-webapp-image
@@ -51,7 +51,7 @@ pipeline {
PNPM_FILTER_STRING = '-F
@kie-tools/dev-deployment-dmn-form-webapp-image...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -113,7 +113,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -129,6 +129,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-quarkus-blank-app-image
b/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-quarkus-blank-app-image
index d7576266420..8188dd31d60 100644
---
a/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-quarkus-blank-app-image
+++
b/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-quarkus-blank-app-image
@@ -51,7 +51,7 @@ pipeline {
PNPM_FILTER_STRING = '-F
@kie-tools/dev-deployment-quarkus-blank-app-image...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -113,7 +113,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -129,6 +129,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-upload-service
b/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-upload-service
index 473e55f6cf4..6375f71eb25 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-upload-service
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.dev-deployment-upload-service
@@ -45,7 +45,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/dev-deployment-upload-service...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -92,7 +92,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -108,6 +108,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.extended-services
b/.ci/jenkins/release-jobs/Jenkinsfile.extended-services
index 0b9d98c6367..baa996d4222 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.extended-services
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.extended-services
@@ -45,7 +45,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/extended-services...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -92,7 +92,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -108,6 +108,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.jbpm-quarkus-devui
b/.ci/jenkins/release-jobs/Jenkinsfile.jbpm-quarkus-devui
index 44115999572..a82df9660bb 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.jbpm-quarkus-devui
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.jbpm-quarkus-devui
@@ -115,6 +115,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build and Deploy') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox
b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox
index fd8970b0070..1ec6447989c 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox
@@ -133,7 +133,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -149,6 +149,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus
b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus
index 78aeaa1b83a..6b1e148988a 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-accelerator-quarkus
@@ -121,6 +121,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-extended-services
b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-extended-services
index 91b26b2479e..d06aaa716f6 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-extended-services
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-extended-services
@@ -55,7 +55,7 @@ pipeline {
PNPM_FILTER_STRING = '-F
@kie-tools/kie-sandbox-extended-services-image...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -118,7 +118,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -134,6 +134,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-helm-chart
b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-helm-chart
index 868daaec175..ec705cd1334 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-helm-chart
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kie-sandbox-helm-chart
@@ -51,7 +51,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/kie-sandbox-helm-chart...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -114,7 +114,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -130,6 +130,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kn-plugin-workflow
b/.ci/jenkins/release-jobs/Jenkinsfile.kn-plugin-workflow
index 8440dedc31d..053fd811070 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kn-plugin-workflow
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kn-plugin-workflow
@@ -42,7 +42,7 @@ pipeline {
KIE_TOOLS_BUILD__buildContainerImages = 'true'
MAVEN_SETTINGS_PATH = "${WORKSPACE}/kie-settings.xml"
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"
PNPM_FILTER_STRING = '-F @kie-tools/kn-plugin-workflow...'
}
@@ -122,6 +122,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-base-builder-image
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-base-builder-image
index a1cf8b3a630..d9f979597e0 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-base-builder-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-base-builder-image
@@ -113,6 +113,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-data-index-ephemeral-image
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-data-index-ephemeral-image
index acd240a4177..f22c7d0f719 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-data-index-ephemeral-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-data-index-ephemeral-image
@@ -113,6 +113,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-data-index-postgresql-image
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-data-index-postgresql-image
index 1b180065c69..98e8c3f42d7 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-data-index-postgresql-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-data-index-postgresql-image
@@ -113,6 +113,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-db-migrator-tool
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-db-migrator-tool
index fab574a8a52..ab8e60e77ef 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-db-migrator-tool
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-db-migrator-tool
@@ -52,7 +52,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/kogito-db-migrator-tool...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -114,7 +114,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -130,6 +130,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jit-runner-image
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jit-runner-image
index 4127e1eaf84..2af15a9f9cc 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jit-runner-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jit-runner-image
@@ -113,6 +113,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-allinone-image
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-allinone-image
index 6287044d048..3a0b1d83521 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-allinone-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-allinone-image
@@ -113,6 +113,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-ephemeral-image
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-ephemeral-image
index 1d7670609cc..43d65045296 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-ephemeral-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-ephemeral-image
@@ -113,6 +113,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-postgresql-image
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-postgresql-image
index 8c6c9f8e2ac..e93dbf4ca2b 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-postgresql-image
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-jobs-service-postgresql-image
@@ -113,6 +113,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-management-console
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-management-console
index f4ede7df48a..d1b81f84fca 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-management-console
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-management-console
@@ -51,7 +51,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/kogito-management-console...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -113,7 +113,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -129,6 +129,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-serverless-operator
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-serverless-operator
index fe1d48c9244..1c631511d79 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-serverless-operator
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-serverless-operator
@@ -142,6 +142,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-swf-builder
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-swf-builder
index 1178944f95b..441df821f1c 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-swf-builder
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-swf-builder
@@ -141,6 +141,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-swf-devmode
b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-swf-devmode
index a49de8dcf05..51eaafc133e 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-swf-devmode
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-swf-devmode
@@ -141,6 +141,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.npm-packages
b/.ci/jenkins/release-jobs/Jenkinsfile.npm-packages
index 386e0f720c1..7fecf586812 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.npm-packages
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.npm-packages
@@ -41,7 +41,7 @@ pipeline {
KIE_TOOLS_BUILD__buildContainerImages = 'true'
RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -89,7 +89,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -119,6 +119,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.online-editor
b/.ci/jenkins/release-jobs/Jenkinsfile.online-editor
index 5c70f26dd59..22b06763e39 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.online-editor
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.online-editor
@@ -63,7 +63,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/online-editor...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -125,7 +125,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -141,6 +141,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.runtime-tools-consoles-helm-chart
b/.ci/jenkins/release-jobs/Jenkinsfile.runtime-tools-consoles-helm-chart
index 49270cd996e..e74436122c7 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.runtime-tools-consoles-helm-chart
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.runtime-tools-consoles-helm-chart
@@ -51,7 +51,7 @@ pipeline {
PNPM_FILTER_STRING = '-F
@kie-tools/runtime-tools-consoles-helm-chart...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -114,7 +114,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -130,6 +130,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools
b/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools
index 354a08e90aa..af05c7b5096 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools
@@ -61,7 +61,7 @@ pipeline {
SERVERLESS_LOGIC_WEB_TOOLS__corsProxyUrl =
'https://cors-proxy-kie-sandbox.rhba-0ad6762cc85bcef5745bb684498c2436-0000.us-south.containers.appdomain.cloud'
PNPM_FILTER_STRING = '-F @kie-tools/serverless-logic-web-tools...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -107,7 +107,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -123,6 +123,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-base-builder-image
b/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-base-builder-image
index f0a1267123b..479e8f55046 100644
---
a/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-base-builder-image
+++
b/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-base-builder-image
@@ -50,7 +50,7 @@ pipeline {
DOCKER_CONFIG = "${WORKSPACE}/.docker"
PNPM_FILTER_STRING = '-F
@kie-tools/serverless-logic-web-tools-base-builder-image...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -112,7 +112,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -128,6 +128,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-swf-builder-image
b/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-swf-builder-image
index 3a81b5eb365..ef621d15193 100644
---
a/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-swf-builder-image
+++
b/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-swf-builder-image
@@ -53,7 +53,7 @@ pipeline {
PNPM_FILTER_STRING = '-F
@kie-tools/serverless-logic-web-tools-swf-builder-image...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -145,6 +145,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git
a/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-swf-dev-mode-image
b/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-swf-dev-mode-image
index 5bedb3859b4..c798e5e7d63 100644
---
a/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-swf-dev-mode-image
+++
b/.ci/jenkins/release-jobs/Jenkinsfile.serverless-logic-web-tools-swf-dev-mode-image
@@ -51,7 +51,7 @@ pipeline {
PNPM_FILTER_STRING = '-F
@kie-tools/serverless-logic-web-tools-swf-dev-mode-image...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -129,6 +129,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-management-console
b/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-management-console
index 2a183c3daed..3f25b9b0165 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-management-console
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-management-console
@@ -126,6 +126,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-quarkus-devui
b/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-quarkus-devui
index 13dcd48f463..f8d59562647 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-quarkus-devui
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.sonataflow-quarkus-devui
@@ -115,6 +115,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build and Deploy') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.standalone-editors-cdn
b/.ci/jenkins/release-jobs/Jenkinsfile.standalone-editors-cdn
index 99b25a34380..db0332ed6fd 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.standalone-editors-cdn
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.standalone-editors-cdn
@@ -44,7 +44,7 @@ pipeline {
PNPM_FILTER_STRING = '-F @kie-tools/kie-editors-standalone... -F
@kie-tools/serverless-workflow-standalone-editor...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -107,7 +107,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -123,6 +123,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.vscode-extensions-dev
b/.ci/jenkins/release-jobs/Jenkinsfile.vscode-extensions-dev
index c1a333824d9..f476f582cd0 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.vscode-extensions-dev
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.vscode-extensions-dev
@@ -42,7 +42,7 @@ pipeline {
PNPM_FILTER_STRING = '-F kie-editors-dev-vscode-extension...'
- MAVEN_ARGS = "-Dmaven.repo.local=${WORKSPACE}/.maven"
+ MAVEN_ARGS = "-B -s ${WORKSPACE}/kie-settings.xml"
}
stages {
@@ -88,7 +88,7 @@ pipeline {
steps {
dir('kie-tools') {
script {
- buildUtils.setupPnpm()
+
buildUtils.setupPnpm("${pipelineVars.mavenSettingsReleaseConfigFileId}")
}
}
}
@@ -104,6 +104,18 @@ pipeline {
}
}
+ stage('Update project, kogito and stream name version') {
+ steps {
+ dir('kie-tools') {
+ script {
+
buildUtils.pnpmUpdateProjectVersion(params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateKogitoVersion(params.RELEASE_VERSION,
params.RELEASE_VERSION, env.MAVEN_ARGS)
+
buildUtils.pnpmUpdateStreamName(params.RELEASE_VERSION, env.MAVEN_ARGS)
+ }
+ }
+ }
+ }
+
stage('Build') {
steps {
dir('kie-tools') {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]