Commit 9746f04f authored by daidekun's avatar daidekun

fixbugs

parent 8c23ba6f
...@@ -64,25 +64,25 @@ def call(body) { ...@@ -64,25 +64,25 @@ def call(body) {
stage('Build') { stage('Build') {
_utils.beautyEcho(4, 'Build') _utils.beautyEcho(4, 'Build')
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) { ansiColor('xterm') {
switch (config.buildType) { switch (config.buildType) {
case "java": case "java":
_stage.build_java(namespace, originSystemName, contextDir) _stage.build_java(namespace, originSystemName, contextDir)
break break
case "ui": case "ui":
_stage.build_ui(namespace, originSystemName, contextDir, gitRepo, branchName, workspace) _stage.build_ui(namespace, originSystemName, contextDir, gitRepo, branchName, workspace)
break break
case "nodejs": case "nodejs":
_stage.build_nodejs(namespace, originSystemName, contextDir, gitRepo, branchName, workspace) _stage.build_nodejs(namespace, originSystemName, contextDir, gitRepo, branchName, workspace)
break break
case "python": case "python":
_stage.build_python(namespace, originSystemName, contextDir) _stage.build_python(namespace, originSystemName, contextDir)
break break
default: default:
echo "未知的buildType: ${config.buildType}" echo "未知的buildType: ${config.buildType}"
break break
}
} }
}
} }
stage('Docker Build And Push') { stage('Docker Build And 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