set deploy-folder with build number

This commit is contained in:
Roberto Cirillo 2022-10-03 17:12:19 +02:00
parent 3b9e5e1826
commit 1245adac9a
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -87,8 +87,8 @@ pipeline {
sh '''
date=`date`;
mkdir -p ${PENDING_DEPLOY_FOLDER}
mkdir -p "${WORKSPACE}/CD"
find "${PENDING_DEPLOY_FOLDER}" -type f -exec mv --target-directory="${WORKSPACE}/CD" '\'{'\'} '\'+
mkdir -p "${DEPLOY_FOLDER}"
find "${PENDING_DEPLOY_FOLDER}" -type f -exec mv --target-directory="${DEPLOY_FOLDER}" '\'{'\'} '\'+
'''
}
}