From f26f0b65d6ffa633512f49677b796f6705d37911 Mon Sep 17 00:00:00 2001 From: Alex Porcelli Date: Wed, 6 Nov 2024 13:53:10 -0500 Subject: [PATCH] [10.0.x] NO_ISSUE: fix rc pipeline (#1809) --- .ci/jenkins/Jenkinsfile.build-image | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.ci/jenkins/Jenkinsfile.build-image b/.ci/jenkins/Jenkinsfile.build-image index 41cd9a543..36c6b3c1d 100644 --- a/.ci/jenkins/Jenkinsfile.build-image +++ b/.ci/jenkins/Jenkinsfile.build-image @@ -214,12 +214,12 @@ pipeline { script { String resultingFileNameTarGz = "apache-kie-${getImageArtifactReleaseVersion()}-incubating-${getBuildImageName()}-image.tar.gz" String resultingFileNameTar = resultingFileNameTarGz.replace('.gz', '') - String signatureFileName = "${resultingFileName}.asc" - String checksumFileName = "${resultingFileName}.sha512" + String signatureFileName = "${resultingFileNameTarGz}.asc" + String checksumFileName = "${resultingFileNameTarGz}.sha512" sh """ docker pull ${getBuiltImageTag()} docker tag ${getBuiltImageTag()} ${getBuiltDeployImageTag()} - docker save ${getBuiltDeployImageTag()} | gzip > ${resultingFileName} + docker save ${getBuiltDeployImageTag()} | gzip > ${resultingFileNameTarGz} zcat ${resultingFileNameTarGz} | dd of=${resultingFileNameTar} bs=512 skip=1 tar -rvf ${resultingFileNameTar} ./LICENSE ./NOTICE ./DISCLAIMER-WIP