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 50a5384 commit 8b99739
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion linux_new/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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"
Expand Down

0 comments on commit 8b99739

Please sign in to comment.