Revamp stages and restructure project #1
@ -1,6 +1,8 @@
|
||||
void call(stepName) {
|
||||
def bannerWidth = stepName.length() + 6
|
||||
def banner = "+${'-'.multiply(bannerWidth)}+"
|
||||
def stepBanner = "| $stepName |"
|
||||
void call(String stepName) {
|
||||
stepCorner = '+'
|
||||
stepBanner = "| $stepName |"
|
||||
bannerWidth = stepBanner.length() - 2
|
||||
banner = stepCorder + ('=' * bannerWidth) + stepCorner
|
||||
|
||||
echo "$banner\n$stepBanner\n$banner"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user