This commit is contained in:
Jim Nicholson 2024-02-07 04:25:08 -08:00
parent cd38ffbb9c
commit da42f61f21

View File

@ -1,9 +1,6 @@
def call(stepName) { void call(stepName) {
def bannerWidth = stepName.length() + 6 def bannerWidth = stepName.length() + 6
def banner = "+${'-'.multiply(bannerWidth)}+" def banner = "+${'-'.multiply(bannerWidth)}+"
def stepBanner = "| $stepName |" def stepBanner = "| $stepName |"
echo "$banner\n$stepBanner\n$banner"
echo banner
echo stepBanner
echo banner
} }