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 '''
|
sh '''
|
||||||
date=`date`;
|
date=`date`;
|
||||||
mkdir -p ${PENDING_DEPLOY_FOLDER}
|
mkdir -p ${PENDING_DEPLOY_FOLDER}
|
||||||
mkdir -p "${WORKSPACE}/CD"
|
mkdir -p "${DEPLOY_FOLDER}"
|
||||||
find "${PENDING_DEPLOY_FOLDER}" -type f -exec mv --target-directory="${WORKSPACE}/CD" '\'{'\'} '\'+
|
find "${PENDING_DEPLOY_FOLDER}" -type f -exec mv --target-directory="${DEPLOY_FOLDER}" '\'{'\'} '\'+
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue