Skip to content

Commit d86fc24

Browse files
authored
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
1 parent 172d75e commit d86fc24

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ pipeline {
280280
sh '''
281281
sudo yum install -y https://repo.percona.com/yum/percona-release-latest.noarch.rpm || true
282282
sudo percona-release enable-only tools
283-
sudo yum install -y jq | true
283+
sudo yum install -y | true
284284
285285
if [ ! -d $HOME/google-cloud-sdk/bin ]; then
286286
rm -rf $HOME/google-cloud-sdk
@@ -298,8 +298,10 @@ pipeline {
298298
curl -s -L https://github.com/mitchellh/golicense/releases/latest/download/golicense_0.2.0_linux_x86_64.tar.gz \
299299
| sudo tar -C /usr/local/bin --wildcards -zxvpf -
300300
301-
sudo sh -c "curl -s -L https://github.com/mikefarah/yq/releases/download/v4.27.2/yq_linux_amd64 > /usr/local/bin/yq"
301+
sudo sh -c "curl -s -L https://github.com/mikefarah/yq/releases/download/v4.34.1/yq_linux_amd64 > /usr/local/bin/yq"
302302
sudo chmod +x /usr/local/bin/yq
303+
sudo sh -c "curl -s -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 > /usr/local/bin/jq"
304+
sudo chmod +x /usr/local/bin/jq
303305
'''
304306
withCredentials([file(credentialsId: 'cloud-secret-file', variable: 'CLOUD_SECRET_FILE')]) {
305307
sh '''

0 commit comments

Comments
 (0)