diff --git a/.ci/jenkins/Jenkinsfile.build-image b/.ci/jenkins/Jenkinsfile.build-image index 0f852cd31..dd3254d4b 100644 --- a/.ci/jenkins/Jenkinsfile.build-image +++ b/.ci/jenkins/Jenkinsfile.build-image @@ -212,17 +212,22 @@ pipeline { } steps { script { - String resultingFileName = "apache-kie-${getImageArtifactReleaseVersion()}-incubating-${getBuildImageName()}-image.tar.gz" + String resultingFileNameTarGz = "apache-kie-${getImageArtifactReleaseVersion()}-incubating-${getBuildImageName()}-image.tar.gz" + String resultingFileNameTar = resultingFileNameTarGz.replace('.gz', '') String signatureFileName = "${resultingFileName}.asc" String checksumFileName = "${resultingFileName}.sha512" sh """ docker pull ${getBuiltImageTag()} docker tag ${getBuiltImageTag()} ${getBuiltDeployImageTag()} docker save ${getBuiltDeployImageTag()} | gzip > ${resultingFileName} + + zcat ${resultingFileNameTarGz} | dd of=${resultingFileNameTar} bs=512 skip=1 + tar -rvf ${resultingFileNameTar} ./LICENSE ./NOTICE ./DISCLAIMER-WIP + gzip -q -c ${resultingFileNameTar} > ${resultingFileNameTarGz} """ releaseUtils.gpgImportKeyFromStringWithoutPassword(getReleaseGpgSignKeyCredsId()) releaseUtils.gpgSignFileDetachedSignatureWithoutPassword(resultingFileName, signatureFileName) - releaseUtils.svnUploadFileToRepository(getReleaseSvnRepository(), getReleaseSvnCredsId(), getImageArtifactReleaseCandidateVersion(), resultingFileName, signatureFileName, checksumFileName) + releaseUtils.svnUploadFileToRepository(getReleaseSvnRepository(), getReleaseSvnCredsId(), getImageArtifactReleaseCandidateVersion(), resultingFileNameTarGz, signatureFileName, checksumFileName) } } post { diff --git a/DISCLAIMER b/DISCLAIMER-WIP similarity index 100% rename from DISCLAIMER rename to DISCLAIMER-WIP diff --git a/NOTICE b/NOTICE new file mode 100644 index 000000000..6a7d335aa --- /dev/null +++ b/NOTICE @@ -0,0 +1,9 @@ +Apache KIE +Copyright 2023 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +The Initial Developer of some parts of the framework, which are copied from, derived from, or +inspired by KIE (Knowledge Is Everthing) group, is Red Hat, Inc (https://www.redhat.com/). +Copyright Red Hat, Inc. and/or its affiliates.. All Rights Reserved.