Skip to content

Commit

Permalink
add rocky
Browse files Browse the repository at this point in the history
  • Loading branch information
gdams committed Feb 3, 2022
1 parent 602b5aa commit 6721d5a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions linuxNew/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,14 @@ def uploadRPMArtifacts(distro) {
packageDir ->
def archesToUse = archs
// Centos 6 supported on x86_64 only
if (packageDir.contains("centos/6")) {
if (packageDir.contains("centos/6") || packageDir.contains("rhel/6")) {
archesToUse = [
"x86_64" : "x86_64",
"source" : "src"
]
}
// Oracle Linux and Amazon Linux support x86_64 and Aarch64
if (packageDir.contains("oraclelinux") or packageDir.contains("amazonlinux")) {
if (packageDir.contains("oraclelinux") || packageDir.contains("amazonlinux") || packageDir.contains("rocky")) {
archesToUse = [
"x86_64" : "x86_64",
"aarch64": "aarch64",
Expand Down

0 comments on commit 6721d5a

Please sign in to comment.