fix escape chars on find command

This commit is contained in:
Roberto Cirillo 2022-09-29 12:05:09 +02:00
parent 2ff971b021
commit 748351d64e
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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 --target-directory="${WORKSPACE}/CD" '\'{'\'} '\'+
'''
}
}