mirror of
https://github.com/mainnika/nikita-tokarch-uk.git
synced 2026-05-25 01:03:35 +00:00
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.
This commit is contained in:
Vendored
+1
@@ -40,6 +40,7 @@ pipeline {
|
|||||||
dir("${WS_DIST}") {
|
dir("${WS_DIST}") {
|
||||||
sh """
|
sh """
|
||||||
curl -fsSL -O "${HELM_DOWNLOAD_URL}";
|
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";
|
ls -lah "${env.WORKSPACE}/${WS_BIN}/linux-amd64/helm";
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user