From a565ec05e5fa8f6893e2a9374df18e978bc02d28 Mon Sep 17 00:00:00 2001 From: Steven Powell Date: Mon, 8 Nov 2021 08:56:48 -0500 Subject: [PATCH] add install case for linux arm64 --- hack/jenkins/common.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/hack/jenkins/common.sh b/hack/jenkins/common.sh index e1f273293b..2d999f39ae 100755 --- a/hack/jenkins/common.sh +++ b/hack/jenkins/common.sh @@ -400,7 +400,9 @@ elapsed=$min.$sec if ! type "jq" > /dev/null; then echo ">> Installing jq" - if [ "${ARCH}" == "arm64" ]; then + if [ "${ARCH}" == "arm64" && "${OS}" == "linux" ]; then + sudo apt-get install jq -y + elif [ "${ARCH}" == "arm64" ]; then echo "Unable to install 'jq' automatically for arm64, please install 'jq' manually." exit 5 elif [ "${OS}" != "darwin" ]; then