Commit ba3ad9a5 authored by daidekun's avatar daidekun

color

parent b6bbd925
...@@ -30,6 +30,7 @@ def call(body) { ...@@ -30,6 +30,7 @@ def call(body) {
node { node {
try { try {
ansiColor('xterm') {
dir (systemName) { dir (systemName) {
timestamps { timestamps {
stage('Clean') { stage('Clean') {
...@@ -72,8 +73,6 @@ def call(body) { ...@@ -72,8 +73,6 @@ def call(body) {
} }
stage('Build') { stage('Build') {
echo '\033[35mPurple!\033[0m'
ansiColor('xterm') {
_utils.beautyEcho(4, 'Build') _utils.beautyEcho(4, 'Build')
switch (config.buildType) { switch (config.buildType) {
case "java": case "java":
...@@ -93,7 +92,6 @@ def call(body) { ...@@ -93,7 +92,6 @@ def call(body) {
break break
} }
} }
}
stage('Docker Build And Push') { stage('Docker Build And Push') {
_utils.beautyEcho(5, 'Docker Build And Push') _utils.beautyEcho(5, 'Docker Build And Push')
...@@ -116,7 +114,7 @@ def call(body) { ...@@ -116,7 +114,7 @@ def call(body) {
} }
} }
} }
}
} catch (err) { } catch (err) {
if (imageTag) { if (imageTag) {
_stage.clean_images(imageTag) _stage.clean_images(imageTag)
......
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