Commit 1f983f00 authored by daidekun's avatar daidekun

增加color output

parent 5917a163
...@@ -32,8 +32,11 @@ def call(body) { ...@@ -32,8 +32,11 @@ def call(body) {
try { try {
dir (systemName) { dir (systemName) {
stage('Clean') { stage('Clean') {
wrap([$class: 'AnsiColorBuildWrapper', 'colorMapName': 'xterm']) {
sh 'echo hello world'
_utils.beautyEcho(1, 'Clean') _utils.beautyEcho(1, 'Clean')
} }
}
stage('Checkout') { stage('Checkout') {
_utils.beautyEcho(2, 'Checkout') _utils.beautyEcho(2, 'Checkout')
......
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