use find command

This commit is contained in:
Roberto Cirillo 2022-09-28 17:35:10 +02:00
parent e284591aab
commit fcf6854059
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -85,7 +85,8 @@ pipeline {
date=`date`;
mkdir -p ${DEPLOY_FILE_ROOT_FOLDER}
mkdir -p "${WORKSPACE}/CD"
mv -v "${DEPLOY_FILE_ROOT_FOLDER}'*'" "${WORKSPACE}"
find "${DEPLOY_FILE_ROOT_FOLDER}" -type f -exec mv {} "${WORKSPACE}"
'''
}
}