diff --git a/linux_new/Jenkinsfile b/linux_new/Jenkinsfile index f67a50a61..4ae1b6d64 100644 --- a/linux_new/Jenkinsfile +++ b/linux_new/Jenkinsfile @@ -811,14 +811,16 @@ stage('Build & Archive Package') { } echo "Preapring For RHEL Upload" def RHELFileName = '' + def RHELFilePath = '' def RHELTarget = '' + def RHELarchitecture = '' def RHELDistro = "RPMS" def RHELPackFiles = findFiles(glob: "**/rhel/build/ospackage/t*.rpm") // List All Packages To Upload For Temurin for (RHELPackFile in RHELPackFiles) { RHELFileName = RHELPackFile.name - def RHELFilePath = RHELPackFile.path + RHELFilePath = RHELPackFile.path def RHELarchex = RHELFileName =~ /(?:\d+\.\d+-\d+)\.(\w+)\.(?:src\.)?rpm/ - def RHELarchitecture = RHELarchex ? RHELarchex[0][1] : null + RHELarchitecture = RHELarchex ? RHELarchex[0][1] : null echo "Extracted architecture: ${RHELarchitecture}" // OverRide Architecture For SRC RPMS if (RHELFileName.contains(".src.rpm")) { @@ -835,6 +837,7 @@ stage('Build & Archive Package') { echo "FilePath = ${RHELFilePath}" // echo "DistroList = ${distro_list}" CheckAndUpload(RHELTarget, RHELDistro, RHELarchitecture, '', '', '', '', '', '' , RHELFileName) + // From Original : CheckAndUpload(Target, Distro, rpmArchList.each, '', '', VALUE , PACKAGEDIR, KEY, '' ) } // echo "Preapring For RHEL Upload" // def RHELDistro = "RPMS"