From cb3a59ac0dc60d9c89d68b85191992b879d1c050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eivind=20N=C3=A6ss?= Date: Thu, 3 Aug 2023 23:59:19 -0700 Subject: [PATCH] On MacOSX, os.arch=aarch64 should use arm64 variant of jf (#75) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Eivind Næss --- src/main/java/io/jenkins/plugins/jfrog/OsUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/jenkins/plugins/jfrog/OsUtils.java b/src/main/java/io/jenkins/plugins/jfrog/OsUtils.java index 6a2fa81d..0060253f 100644 --- a/src/main/java/io/jenkins/plugins/jfrog/OsUtils.java +++ b/src/main/java/io/jenkins/plugins/jfrog/OsUtils.java @@ -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";