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