This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch kie-issues_749
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/kie-issues_749 by this push:
new 18cc44a3 fix build pipeline
18cc44a3 is described below
commit 18cc44a356ff6d4ba6893550ef1da635c7f7e4fd
Author: jstastny-cz <[email protected]>
AuthorDate: Mon Dec 11 09:42:42 2023 +0100
fix build pipeline
---
.ci/jenkins/Jenkinsfile.build-kogito-ci-image | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
b/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
index af1b45dc..00b27415 100644
--- a/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
+++ b/.ci/jenkins/Jenkinsfile.build-kogito-ci-image
@@ -36,13 +36,13 @@ pipeline {
sh """
docker build -t ${env.IMAGE_NAME_TAG} -f
apache-nodes/Dockerfile.kogito-ci-build ./apache-nodes
- docker tag ${env.IMAGE_NAME_TAG}
${env.IMAGE_NAME}:${GIT_COMMIT}
+ docker tag ${env.IMAGE_NAME_TAG}
${env.IMAGE_NAME}:${GIT_COMMIT?:githubscm.getCommitHash()}
docker tag ${env.IMAGE_NAME_TAG}
${env.IMAGE_NAME}:${BRANCH_NAME}-latest
"""
sh """
docker --config ${DOCKER_CONFIG} push
${env.IMAGE_NAME_TAG}
- docker --config ${DOCKER_CONFIG} push
${env.IMAGE_NAME}:${GIT_COMMIT}
+ docker --config ${DOCKER_CONFIG} push
${env.IMAGE_NAME}:${GIT_COMMIT?:githubscm.getCommitHash()}
docker --config ${DOCKER_CONFIG} push
${env.IMAGE_NAME}:${BRANCH_NAME}-latest
"""
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]