Commit 4c8135b0 authored by daidekun's avatar daidekun

color

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