Commit 28b1df5c authored by wentao.suo's avatar wentao.suo

fff

parent 283d5124
...@@ -86,7 +86,7 @@ def call(body) { ...@@ -86,7 +86,7 @@ def call(body) {
def build_schema = "BUILD_TIME: ${timeStemp} ,BUILD_NUMBER: ${buildNumber},SYSTEM_NAME: ${systemName},BRANCH_NAME: ${branchName}, CLUSTER: ${cluster}" def build_schema = "BUILD_TIME: ${timeStemp} ,BUILD_NUMBER: ${buildNumber},SYSTEM_NAME: ${systemName},BRANCH_NAME: ${branchName}, CLUSTER: ${cluster}"
def image = docker.build(imageTag, "--build-arg BUILD_SHCEMA=build_schema ${contextDir}") def image = docker.build(imageTag, "--build-arg BUILD_SHCEMA=${build_schema} ${contextDir}")
image.push() image.push()
if (branchName == "master" || branchName == "master--master") { if (branchName == "master" || branchName == "master--master") {
...@@ -114,7 +114,7 @@ def call(body) { ...@@ -114,7 +114,7 @@ def call(body) {
}finally{ }finally{
_utils.beautyEcho("finally", "info") _utils.beautyEcho("finally", "info")
sh "rm -rf ${contextDir}" /* sh "rm -rf ${contextDir}"*/
_stage.clean_images(imageTag) _stage.clean_images(imageTag)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment