Commit 8f5bff8e authored by wentao.suo's avatar wentao.suo

fix

parent 46527346
...@@ -48,22 +48,36 @@ def call(body) { ...@@ -48,22 +48,36 @@ def call(body) {
_stage.init_image_dependency(config.buildType,originSystemName,contextDir) _stage.init_image_dependency(config.buildType,originSystemName,contextDir)
} }
/* 2 */
/* 2 */ if(originSystemName =="di-ting-ui"){
withDockerServer([uri: "tcp://192.168.4.96:2375/"]) {
_utils.beautyEcho("checkout & build < ${originSystemName} : ${originBranchName} >", "stage") _utils.beautyEcho("checkout & build < ${originSystemName} : ${originBranchName} >", "stage")
for(def i = 0; i<systemNames.length; i++){ for(def i = 0; i<systemNames.length; i++){
dir(systemNames[i]){ dir(systemNames[i]){
_stage.check_and_build(config.buildType, systemNames[i], branchNames[i], contextDir) _stage.check_and_build(config.buildType, systemNames[i], branchNames[i], contextDir)
} }
} }
_utils.beautyEcho("build over", "info") _utils.beautyEcho("build over", "info")
} else {
withDockerServer([uri: "tcp://192.168.4.96:2375/"]) {
_utils.beautyEcho("checkout & build < ${originSystemName} : ${originBranchName} >", "stage")
for(def i = 0; i<systemNames.length; i++){
dir(systemNames[i]){
_stage.check_and_build(config.buildType, systemNames[i], branchNames[i], contextDir)
}
}
_utils.beautyEcho("build over", "info")
}
} }
/* 3 */ /* 3 */
......
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