Skip to content

Commit b840327

Browse files
tplavcichors
andauthored
CLOUD-793 - Set fixed versions of jq and yq in Jenkinsfile (#400)
* CLOUD-793 - Set fixed versions of jq and yq in Jenkinsfile * Fix yq version to 4.34.1 --------- Co-authored-by: Viacheslav Sarzhan <[email protected]>
1 parent 4217566 commit b840327

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Jenkinsfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ void prepareNode() {
240240
sh '''
241241
sudo yum install -y https://repo.percona.com/yum/percona-release-latest.noarch.rpm || true
242242
sudo percona-release enable-only tools
243-
sudo yum install -y percona-xtrabackup-80 jq | true
243+
sudo yum install -y percona-xtrabackup-80 | true
244244
'''
245245

246246
sh '''
@@ -256,8 +256,12 @@ void prepareNode() {
256256
| sudo tar -C /usr/local/bin --strip-components 1 --wildcards -zxvpf - '*/oc'
257257
curl -s -L https://github.com/mitchellh/golicense/releases/latest/download/golicense_0.2.0_linux_x86_64.tar.gz \
258258
| sudo tar -C /usr/local/bin --wildcards -zxvpf -
259-
sudo sh -c "curl -s -L https://github.com/mikefarah/yq/releases/download/v4.29.1/yq_linux_amd64 > /usr/local/bin/yq"
259+
260+
sudo sh -c "curl -s -L https://github.com/mikefarah/yq/releases/download/v4.34.1/yq_linux_amd64 > /usr/local/bin/yq"
260261
sudo chmod +x /usr/local/bin/yq
262+
sudo sh -c "curl -s -L https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 > /usr/local/bin/jq"
263+
sudo chmod +x /usr/local/bin/jq
264+
261265
cd "$(mktemp -d)"
262266
OS="$(uname | tr '[:upper:]' '[:lower:]')"
263267
ARCH="$(uname -m | sed -e 's/x86_64/amd64/')"

0 commit comments

Comments
 (0)