Commit 38e918c0 authored by daidekun's avatar daidekun

移除

parent 1c840c79
......@@ -63,26 +63,24 @@ def call(body) {
}
stage('Build') {
_utils.beautyEcho(4, "\u001B[31mI'm Red\u001B[0m Now not")
ansiColor('xterm') {
switch (config.buildType) {
case "java":
_stage.build_java(namespace, originSystemName, contextDir)
break
case "ui":
_stage.build_ui(namespace, originSystemName, contextDir, gitRepo, branchName, workspace)
break
case "nodejs":
_stage.build_nodejs(namespace, originSystemName, contextDir, gitRepo, branchName, workspace)
break
case "python":
_stage.build_python(namespace, originSystemName, contextDir)
break
default:
echo "未知的buildType: ${config.buildType}"
break
}
}
_utils.beautyEcho(4, 'Build')
switch (config.buildType) {
case "java":
_stage.build_java(namespace, originSystemName, contextDir)
break
case "ui":
_stage.build_ui(namespace, originSystemName, contextDir, gitRepo, branchName, workspace)
break
case "nodejs":
_stage.build_nodejs(namespace, originSystemName, contextDir, gitRepo, branchName, workspace)
break
case "python":
_stage.build_python(namespace, originSystemName, contextDir)
break
default:
echo "未知的buildType: ${config.buildType}"
break
}
}
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