Authored by jimi

aaaa

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