diff --git a/linux_new/Jenkinsfile b/linux_new/Jenkinsfile index fc8dbf8c5..1f4186701 100644 --- a/linux_new/Jenkinsfile +++ b/linux_new/Jenkinsfile @@ -814,6 +814,7 @@ stage('Build & Archive Package') { def RHELFilePath = '' def RHELTarget = '' def RHELarchitecture = '' + def RHELkey = '' def RHELDistro = "RPMS" def RHELPackFiles = findFiles(glob: "**/rhel/build/ospackage/t*.rpm") // List All Packages To Upload For Temurin for (RHELPackFile in RHELPackFiles) { @@ -827,16 +828,23 @@ stage('Build & Archive Package') { RHELarchitecture = "source" echo "Overriden Architecture : ${RHELarchitecture}" } + // Calculate Key + rhel_distros.each { rhel_distro -> + RHELkey = "${rhel_distro}/${RHELarchitecture}" + } RHELTarget = "https://adoptium.jfrog.io/artifactory/" echo "Debug 1001 - RHEL Upload Debugging" echo "Target = ${RHELTarget}" + echo "Key = ${RHELkey}" + echo "Value = ${Release}" echo "Distro = ${RHELDistro}" + echo "PackageDir = ${RHELTarget}" echo "buildArch = ${RHELarchitecture}" echo "Release = ${Release}" echo "FileName = ${RHELFileName}" echo "FilePath = ${RHELFilePath}" // echo "DistroList = ${distro_list}" - CheckAndUpload(RHELTarget, RHELDistro, RHELarchitecture, '', '', '', '', '', RHELFileName) + CheckAndUpload(RHELTarget, RHELDistro, RHELarchitecture, '', '', Release, RHELTarget, RHELkey, RHELFileName) // From Original : CheckAndUpload(Target, Distro, rpmArchList.each, '', '', VALUE , PACKAGEDIR, KEY, '' ) } // echo "Preapring For RHEL Upload"