Skip to content

Commit

Permalink
[10.0.x] NO_ISSUE: fix rc pipeline (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
porcelli authored Nov 6, 2024
1 parent 1803eb2 commit f26f0b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/jenkins/Jenkinsfile.build-image
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f26f0b6

Please sign in to comment.