fix escape chars on find command

This commit is contained in:
Roberto Cirillo 2022-09-29 11:51:02 +02:00
parent 56e53ec4b0
commit 911b5e837d
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -85,7 +85,7 @@ pipeline {
date=`date`; date=`date`;
mkdir -p ${DEPLOY_FILE_ROOT_FOLDER} mkdir -p ${DEPLOY_FILE_ROOT_FOLDER}
mkdir -p "${WORKSPACE}/CD" 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" '\';
''' '''
} }
} }