Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 committed Dec 20, 2024
1 parent 7b0c8a6 commit 693bf60
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions linux_new/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,11 @@ stage('Build & Archive Package') {
def RHELarchex = RHELFileName =~ /(?:\d+\.\d+-\d+)\.(\w+)\.(?:src\.)?rpm/
def RHELarchitecture = RHELarchex ? RHELarchex[0][1] : null
echo "Extracted architecture: ${RHELarchitecture}"
// OverRide Architecture For SRC RPMS
if (RHELFileName.contains(*.src.rpm)) {
RHELarchitecture = "source"
echo "Overriden Architecture : ${RHELarchitecture}"
}
// Calculate Key
rhel_distros.each { rhel_distro ->
RHELkey = "${rhel_distro}/${RHELarchitecture}"
Expand Down

0 comments on commit 693bf60

Please sign in to comment.