Showing
1 changed file
with
1 additions
and
1 deletions
@@ -32,7 +32,7 @@ pipeline { | @@ -32,7 +32,7 @@ pipeline { | ||
32 | if(params.projectName==''){ | 32 | if(params.projectName==''){ |
33 | error "no project ${params.projectName}" | 33 | error "no project ${params.projectName}" |
34 | } | 34 | } |
35 | - PROJECT_WORK_DIR="${env.WORKSPACE}/${params.projectName}" | 35 | + def PROJECT_WORK_DIR="${env.WORKSPACE}/${params.projectName}" |
36 | QCLOUD_IMAGE_STORE="ccr.ccs.tencentyun.com/${params.imageSource}/${params.deployName}:${IMAGEVERSION}" | 36 | QCLOUD_IMAGE_STORE="ccr.ccs.tencentyun.com/${params.imageSource}/${params.deployName}:${IMAGEVERSION}" |
37 | if(fileExists("${PROJECT_WORK_DIR}/")){ | 37 | if(fileExists("${PROJECT_WORK_DIR}/")){ |
38 | echo "starting delete the dir ${PROJECT_WORK_DIR}" | 38 | echo "starting delete the dir ${PROJECT_WORK_DIR}" |
-
Please register or login to post a comment