Authored by jimi

add

... ... @@ -32,7 +32,7 @@ pipeline {
error "no project ${params.projectName}"
}
def IMAGEVERSION="""${sh(returnStdout: true,script: 'date +"%Y%m%d%H%M%S"')}"""
def IMAGEVERSION = IMAGEVERSION.trim();
def 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}/")){
... ...