Commit 4c8135b0 authored by daidekun's avatar daidekun

color

parent 6352ed8a
...@@ -72,23 +72,25 @@ def call(body) { ...@@ -72,23 +72,25 @@ def call(body) {
} }
stage('Build') {8 stage('Build') {8
_utils.beautyEcho(4, 'Build') ansiColor('xterm') {
switch (config.buildType) { _utils.beautyEcho(4, 'Build')
case "java": switch (config.buildType) {
_stage.build_java(namespace, originSystemName, contextDir) case "java":
break _stage.build_java(namespace, originSystemName, contextDir)
case "nodejs": break
_stage.build_nodejs(namespace, originSystemName, contextDir) case "nodejs":
break _stage.build_nodejs(namespace, originSystemName, contextDir)
case "python": break
_stage.build_python(namespace, originSystemName, contextDir) case "python":
break _stage.build_python(namespace, originSystemName, contextDir)
case "lua-ui": break
_stage.build_luaui(namespace, originSystemName, contextDir) case "lua-ui":
break _stage.build_luaui(namespace, originSystemName, contextDir)
default: break
echo "未知的buildType: ${config.buildType}" default:
break echo "未知的buildType: ${config.buildType}"
break
}
} }
} }
......
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