diff --git a/vars/printBanner.groovy b/vars/printBanner.groovy index 0de64d9..71bade7 100644 --- a/vars/printBanner.groovy +++ b/vars/printBanner.groovy @@ -1,8 +1,13 @@ void call(String stepName) { stepCorner = '+' - stepBanner = "| $stepName |" + stepBanner = "║ $stepName ║" bannerWidth = stepBanner.length() - 2 - banner = stepCorner + ('=' * bannerWidth) + stepCorner + // banner = stepCorner + ('=' * bannerWidth) + stepCorner - echo "$banner\n$stepBanner\n$banner" + top = '╔' + ('═' * bannerWidth) + '╗' + bottom = '╚' + ('═' * bannerWidth) + '╝' + + echo "$top\n$stepBanner\n$bottom" } + +// ═ ║ ╒ ╓ ╔ ╕ ╖ ╗ ╘ ╙ ╚ ╛ ╜ ╝ ╞ ╟ ╠ ╡ ╢ ╣ ╤ ╥ ╦ ╧ ╨ ╩ ╪ ╫ ╬