Commit 8bcb6e19 authored by daidekun's avatar daidekun

fixbugs

parent f130ad9a
......@@ -218,7 +218,7 @@ def dockerbuild_and_push(buildNumber, branchName, harborGroup, systemName, conte
def image = docker.build(imageTag, "--build-arg BUILD_NUMBER=${buildNumber} --build-arg SYSTEM_NAME=${systemName} --build-arg BRANCH_NAME=${branchName} --build-arg SAFE_SYSTEM_NAME=${safeSystemName} ${contextDir}")
image.push()
if (branchName == "master") {
if (branchName == "master" || branchName == "master--master") {
image.push('latest')
}
......
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