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

ffffff

parent cf969ddb
......@@ -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}\nBUILD_NUMBER:${buildNumber}\nSYSTEM_NAME:${systemName}\nBRANCH_NAME:${branchName}\nCLUSTER:${cluster}"
echo build_schema
def image = docker.build(imageTag, "--build-arg BUILD_SCHEMA=${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