generated from gCubeCI/Pipeline-Docker-Template
set deploy-folder with build number
This commit is contained in:
parent
3b9e5e1826
commit
1245adac9a
|
@ -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}" '\'{'\'} '\'+
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue