You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by ed...@apache.org on 2025/06/19 16:07:36 UTC
(incubator-kie-tools) branch 10.1.x updated: Fixing pipeline's vars to match to the app's vars
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 f36f6a0c07b Fixing pipeline's vars to match to the app's vars
f36f6a0c07b is described below
commit f36f6a0c07bb331d720cb99bec609be93f899b87
Author: Eduardo Cerqueira <ed...@aletyx.ai>
AuthorDate: Thu Jun 19 12:07:27 2025 -0400
Fixing pipeline's vars to match to the app's vars
---
.../release-jobs/Jenkinsfile.kogito-db-migrator-tool | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
diff --git a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-db-migrator-tool b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-db-migrator-tool
index 0f87de8fa03..175d908fcf4 100644
--- a/.ci/jenkins/release-jobs/Jenkinsfile.kogito-db-migrator-tool
+++ b/.ci/jenkins/release-jobs/Jenkinsfile.kogito-db-migrator-tool
@@ -40,11 +40,10 @@ pipeline {
KIE_TOOLS_BUILD__runEndToEndTests = 'false'
KIE_TOOLS_BUILD__buildContainerImages = 'true'
-
- KIE_KOGITO_DB_MIGRATOR_TOOL__registry = 'docker.io'
- KIE_KOGITO_DB_MIGRATOR_TOOL__account = 'apache'
- KIE_KOGITO_DB_MIGRATOR_TOOL__name = 'kie-kogito-db-migrator-tool'
- KIE_KOGITO_DB_MIGRATOR_TOOL__buildTag = "${params.RELEASE_VERSION}"
+ KOGITO_DB_MIGRATOR_TOOL_IMAGE__registry = 'docker.io'
+ KOGITO_DB_MIGRATOR_TOOL_IMAGE__account = 'apache'
+ KOGITO_DB_MIGRATOR_TOOL_IMAGE__name = 'kie-kogito-db-migrator-tool'
+ KOGITO_DB_MIGRATOR_TOOL_IMAGE__buildTag = "${params.RELEASE_VERSION}"
RELEASE_ARTIFACTS_DIR = "${WORKSPACE}/release-artifacts"
@@ -159,10 +158,10 @@ pipeline {
steps {
script {
dockerUtils.pushImageToRegistry(
- "${env.KIE_KOGITO_DB_MIGRATOR_TOOL__registry}",
- "${env.KIE_KOGITO_DB_MIGRATOR_TOOL__account}",
- "${env.KIE_KOGITO_DB_MIGRATOR_TOOL__name}",
- "${env.KIE_KOGITO_DB_MIGRATOR_TOOL__buildTag}",
+ "${env.KOGITO_DB_MIGRATOR_TOOL_IMAGE__registry}",
+ "${env.KOGITO_DB_MIGRATOR_TOOL_IMAGE__account}",
+ "${env.KOGITO_DB_MIGRATOR_TOOL_IMAGE__name}",
+ "${env.KOGITO_DB_MIGRATOR_TOOL_IMAGE__buildTag}",
"${pipelineVars.dockerHubUserCredentialsId}",
"${pipelineVars.dockerHubTokenCredentialsId}"
)
@@ -180,7 +179,7 @@ pipeline {
sh """#!/bin/bash -el
mkdir ${env.RELEASE_ARTIFACTS_DIR}
- docker save "${env.KIE_KOGITO_DB_MIGRATOR_TOOL__registry}/${env.KIE_KOGITO_DB_MIGRATOR_TOOL__account}/${env.KIE_KOGITO_DB_MIGRATOR_TOOL__name}:${params.RELEASE_VERSION}" | gzip > "${env.RELEASE_ARTIFACTS_DIR}/${env.RELEASE_IMAGE_TAR_FILE}"
+ docker save "${env.KOGITO_DB_MIGRATOR_TOOL_IMAGE__registry}/${env.KOGITO_DB_MIGRATOR_TOOL_IMAGE__account}/${env.KOGITO_DB_MIGRATOR_TOOL_IMAGE__name}:${params.RELEASE_VERSION}" | gzip > "${env.RELEASE_ARTIFACTS_DIR}/${env.RELEASE_IMAGE_TAR_FILE}"
""".trim()
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org