Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Dec 23, 2024
1 parent 1a35b7a commit 49dffc3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions linux_new/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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")) {
Expand All @@ -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"
Expand Down

0 comments on commit 49dffc3

Please sign in to comment.