Showing
1 changed file
with
5 additions
and
0 deletions
@@ -95,6 +95,11 @@ pipeline { | @@ -95,6 +95,11 @@ pipeline { | ||
95 | def qcloudimage = "${env.QCLOUD_IMAGE}/${params.imageSource}/${params.deployName}:${params.imageVersion}" | 95 | def qcloudimage = "${env.QCLOUD_IMAGE}/${params.imageSource}/${params.deployName}:${params.imageVersion}" |
96 | sh "docker build -t ${qcloudimage} ${PROJECT_WORK_DIR}/dist/node" | 96 | sh "docker build -t ${qcloudimage} ${PROJECT_WORK_DIR}/dist/node" |
97 | sh "docker push ${qcloudimage}" | 97 | sh "docker push ${qcloudimage}" |
98 | + if(params.projectName=='yoho-activity-platform'){ | ||
99 | + def qcloudimage_activity = "${env.QCLOUD_IMAGE}/${params.imageSource}/yoho-activity-platform-admin:${params.imageVersion}" | ||
100 | + sh "docker tag ${qcloudimage} ${qcloudimage_activity}" | ||
101 | + sh "docker push ${qcloudimage_activity}" | ||
102 | + } | ||
98 | echo "end bake qcloud image......" | 103 | echo "end bake qcloud image......" |
99 | } | 104 | } |
100 | } | 105 | } |
-
Please register or login to post a comment