Skip to content

Commit

Permalink
On MacOSX, os.arch=aarch64 should use arm64 variant of jf (#75)
Browse files Browse the repository at this point in the history
Signed-off-by: Eivind Næss <[email protected]>
  • Loading branch information
enaess authored Aug 4, 2023
1 parent e854a41 commit cb3a59a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/jenkins/plugins/jfrog/OsUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static String getOsDetails() throws IOException {
}
// Mac
if (SystemUtils.IS_OS_MAC) {
if (OS_ARCH.contains("arm64")) {
if (OS_ARCH.contains("arm64") || OS_ARCH.contains("aarch64")) {
return "mac-arm64";
}
return "mac-386";
Expand Down

0 comments on commit cb3a59a

Please sign in to comment.