Update tar extraction command in Jenkinsfile

Changed the order of arguments in the tar extraction command to ensure correct file placement.
main
Nikita Tokarchuk 2 months ago
parent 3a6bc59683
commit e1e852cece
Signed by: mainnika
GPG Key ID: 5CDEED14F48FA79D
  1. 2
      .jenkins/Jenkinsfile

@ -41,7 +41,7 @@ pipeline {
sh """
curl -fsSL -O "${HELM_DOWNLOAD_URL}";
mkdir -p "${env.WORKSPACE}/${WS_BIN}";
tar xfz -C "${env.WORKSPACE}/${WS_BIN}" *;
tar xfz * -C "${env.WORKSPACE}/${WS_BIN}";
ls -lah "${env.WORKSPACE}/${WS_BIN}/linux-amd64/helm";
"""
deleteDir()

Loading…
Cancel
Save