Commit 1f983f00 authored by daidekun's avatar daidekun

增加color output

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