Commit a1193b1c authored by wentao.suo's avatar wentao.suo

ffff

parent db63b829
......@@ -84,7 +84,7 @@ def call(body) {
withDockerRegistry([credentialsId: 'harbor-qajenkins', url: "http://192.168.4.36"]) {
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};"
echo build_schema
def image = docker.build(imageTag, "--build-arg BUILD_SHCEMA=${build_schema} ${contextDir}")
image.push()
......
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