...
|
...
|
@@ -31,7 +31,7 @@ pipeline { |
|
|
if(params.projectName==''){
|
|
|
error "no project ${params.projectName}"
|
|
|
}
|
|
|
def IMAGEVERSION = sh returnStdout: true ,script: 'date +"%Y%m%d%H%M%S"'
|
|
|
def IMAGEVERSION = new Date().format("yyyyMMddHHmmss")
|
|
|
IMAGEVERSION = IMAGEVERSION.trim()
|
|
|
PROJECT_WORK_DIR="${env.WORKSPACE}/${params.projectName}"
|
|
|
QCLOUD_IMAGE_STORE="ccr.ccs.tencentyun.com/${params.imageSource}/${params.deployName}:${IMAGEVERSION}"
|
...
|
...
|
|