Update tar extraction command in Jenkinsfile

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

@ -41,7 +41,7 @@ pipeline {
sh """ sh """
curl -fsSL -O "${HELM_DOWNLOAD_URL}"; curl -fsSL -O "${HELM_DOWNLOAD_URL}";
mkdir -p "${env.WORKSPACE}/${WS_BIN}"; 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"; ls -lah "${env.WORKSPACE}/${WS_BIN}/linux-amd64/helm";
""" """
deleteDir() deleteDir()

Loading…
Cancel
Save