From 911b5e837d0acef03d2c1ffef84c7c08c75f2149 Mon Sep 17 00:00:00 2001 From: Roberto Cirillo Date: Thu, 29 Sep 2022 11:51:02 +0200 Subject: [PATCH] fix escape chars on find command --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 54b83a6..108cfbe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,7 +85,7 @@ pipeline { date=`date`; mkdir -p ${DEPLOY_FILE_ROOT_FOLDER} mkdir -p "${WORKSPACE}/CD" - find "${DEPLOY_FILE_ROOT_FOLDER}" -type f -exec mv \{\} "${WORKSPACE}/CD" \; + find "${DEPLOY_FILE_ROOT_FOLDER}" -type f -exec mv '\'{'\'} "${WORKSPACE}/CD" '\'; ''' } }