From 3a6bc59683426e585ad66229630c1dae2a9c4574 Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Sat, 24 Aug 2024 21:30:09 +0200 Subject: [PATCH] Add creation of directory before extracting files in Jenkinsfile Created a new directory before extracting files to ensure successful file extraction during the build process in Jenkins. --- .jenkins/Jenkinsfile | 1 + 1 file changed, 1 insertion(+) diff --git a/.jenkins/Jenkinsfile b/.jenkins/Jenkinsfile index 862eca0..ffdebd6 100644 --- a/.jenkins/Jenkinsfile +++ b/.jenkins/Jenkinsfile @@ -40,6 +40,7 @@ pipeline { dir("${WS_DIST}") { sh """ curl -fsSL -O "${HELM_DOWNLOAD_URL}"; + mkdir -p "${env.WORKSPACE}/${WS_BIN}"; tar xfz -C "${env.WORKSPACE}/${WS_BIN}" *; ls -lah "${env.WORKSPACE}/${WS_BIN}/linux-amd64/helm"; """