Revamp stages and restructure project #1
@ -1,6 +0,0 @@
|
||||
|
||||
class Versioner {
|
||||
|
||||
|
||||
|
||||
}
|
||||
@ -1,6 +1,9 @@
|
||||
void printBanner(String anything) {
|
||||
boxCorner = '+'
|
||||
repetitions = anything.length() + 2
|
||||
boxTop = boxCorner + '=' * repetitions + boxCorner
|
||||
echo "${boxTop}\n| ${anything} |\n${boxTop}\n"
|
||||
def printStepBanner(stepName) {
|
||||
def bannerWidth = stepName.length() + 6
|
||||
def banner = "+${'-'.multiply(bannerWidth)}+"
|
||||
def stepBanner = "| $stepName |"
|
||||
|
||||
echo banner
|
||||
echo stepBanner
|
||||
echo banner
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user