...
|
...
|
@@ -95,6 +95,11 @@ pipeline { |
|
|
def qcloudimage = "${env.QCLOUD_IMAGE}/${params.imageSource}/${params.deployName}:${params.imageVersion}"
|
|
|
sh "docker build -t ${qcloudimage} ${PROJECT_WORK_DIR}/dist/node"
|
|
|
sh "docker push ${qcloudimage}"
|
|
|
if(params.projectName=='yoho-activity-platform'){
|
|
|
def qcloudimage_activity = "${env.QCLOUD_IMAGE}/${params.imageSource}/yoho-activity-platform-admin:${params.imageVersion}"
|
|
|
sh "docker tag ${qcloudimage} ${qcloudimage_activity}"
|
|
|
sh "docker push ${qcloudimage_activity}"
|
|
|
}
|
|
|
echo "end bake qcloud image......"
|
|
|
}
|
|
|
}
|
...
|
...
|
|