From c70558a11f6caa0055d6398de536e714ffbc6b20 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Wed, 28 Sep 2022 15:28:47 +0200 Subject: [PATCH] fix mv --- Jenkinsfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 596b8f8..7318191 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -84,7 +84,8 @@ pipeline { sh ''' date=`date`; mkdir -p ${DEPLOY_FILE_ROOT_FOLDER} - mv -v "${DEPLOY_FILE_ROOT_FOLDER}" "${WORKSPACE}" + mkdir -p "${WORKSPACE}/CD" + mv -v "${DEPLOY_FILE_ROOT_FOLDER}" ... "${WORKSPACE}" ''' } }