From d86fc241189c6745526c30c6d8b35e03b1b15f83 Mon Sep 17 00:00:00 2001 From: Tomislav Plavcic Date: Fri, 7 Jul 2023 10:31:39 +0200 Subject: [PATCH] CLOUD-793 - Set fixed version of jq to 1.6 (#1247) * CLOUD-793 - Set fixed version of jq to 1.6 * Fix yq version to 4.34.1 --- Jenkinsfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index f538311d7..688e2d431 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -280,7 +280,7 @@ pipeline { sh ''' sudo yum install -y https://repo.percona.com/yum/percona-release-latest.noarch.rpm || true sudo percona-release enable-only tools - sudo yum install -y jq | true + sudo yum install -y | true if [ ! -d $HOME/google-cloud-sdk/bin ]; then rm -rf $HOME/google-cloud-sdk @@ -298,8 +298,10 @@ pipeline { curl -s -L https://github.com/mitchellh/golicense/releases/latest/download/golicense_0.2.0_linux_x86_64.tar.gz \ | sudo tar -C /usr/local/bin --wildcards -zxvpf - - sudo sh -c "curl -s -L https://github.com/mikefarah/yq/releases/download/v4.27.2/yq_linux_amd64 > /usr/local/bin/yq" + sudo sh -c "curl -s -L https://github.com/mikefarah/yq/releases/download/v4.34.1/yq_linux_amd64 > /usr/local/bin/yq" sudo chmod +x /usr/local/bin/yq + sudo sh -c "curl -s -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 > /usr/local/bin/jq" + sudo chmod +x /usr/local/bin/jq ''' withCredentials([file(credentialsId: 'cloud-secret-file', variable: 'CLOUD_SECRET_FILE')]) { sh '''