Showing
1 changed file
with
1 additions
and
0 deletions
@@ -33,6 +33,7 @@ pipeline { | @@ -33,6 +33,7 @@ pipeline { | ||
33 | } | 33 | } |
34 | def IMAGEVERSION = sh(returnStdout: true ,script: 'date +"%Y%m%d%H%M%S"') | 34 | def IMAGEVERSION = sh(returnStdout: true ,script: 'date +"%Y%m%d%H%M%S"') |
35 | IMAGEVERSION = IMAGEVERSION.trim() | 35 | IMAGEVERSION = IMAGEVERSION.trim() |
36 | + print IMAGEVERSION | ||
36 | PROJECT_WORK_DIR="${env.WORKSPACE}/${params.projectName}" | 37 | PROJECT_WORK_DIR="${env.WORKSPACE}/${params.projectName}" |
37 | QCLOUD_IMAGE_STORE="ccr.ccs.tencentyun.com/${params.imageSource}/${params.deployName}:${IMAGEVERSION}" | 38 | QCLOUD_IMAGE_STORE="ccr.ccs.tencentyun.com/${params.imageSource}/${params.deployName}:${IMAGEVERSION}" |
38 | if(fileExists("${PROJECT_WORK_DIR}/")){ | 39 | if(fileExists("${PROJECT_WORK_DIR}/")){ |
-
Please register or login to post a comment