Commit 283d5124 authored by wentao.suo's avatar wentao.suo

fff

parent beca38ac
......@@ -7,7 +7,7 @@ def _utils() {
return new org.qg.docker_new.Utils();
}
def harborGroup = "library"
def debug() {
......@@ -21,7 +21,7 @@ def contextMkdir(key) {
return contextDir
}
def imageTag(k8sSystemName,safeBranchName,timeStemp){
def imageTag(harborGroup,k8sSystemName,safeBranchName,timeStemp){
return "192.168.4.36/${harborGroup}/${k8sSystemName}:${safeBranchName}-${timeStemp}"
}
......
......@@ -4,6 +4,8 @@
def call(body) {
ansiColor('xterm') {
def harborGroup = "library"
def _stage = new org.qg.docker_new.StageBucket()
def _utils = new org.qg.docker_new.Utils()
......@@ -78,7 +80,7 @@ def call(body) {
_utils.beautyEcho("build over", "info")
stage('make docker image') {
_utils.beautyEcho("make docker image", "stage")
imageTag = _stage.imageTag(k8sSystemName,safeBranchName,timeStemp)
imageTag = _stage.imageTag(harborGroup,k8sSystemName,safeBranchName,timeStemp)
withDockerRegistry([credentialsId: 'harbor-qajenkins', url: "http://192.168.4.36"]) {
......
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