Commit 8c23ba6f authored by daidekun's avatar daidekun

build 过程彩色化

parent 1f983f00
......@@ -32,11 +32,8 @@ def call(body) {
try {
dir (systemName) {
stage('Clean') {
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
sh 'echo hello world'
_utils.beautyEcho(1, 'Clean')
}
}
stage('Checkout') {
_utils.beautyEcho(2, 'Checkout')
......@@ -67,6 +64,7 @@ def call(body) {
stage('Build') {
_utils.beautyEcho(4, 'Build')
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
switch (config.buildType) {
case "java":
_stage.build_java(namespace, originSystemName, contextDir)
......@@ -85,6 +83,7 @@ def call(body) {
break
}
}
}
stage('Docker Build And Push') {
_utils.beautyEcho(5, '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