Revamp stages and restructure project #1

Merged
jim merged 32 commits from newstage into master 2024-02-08 02:22:21 +00:00
Showing only changes of commit a3bf854bb8 - Show all commits

View File

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