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 bc7f2a8540 - Show all commits

View File

@ -1,16 +1,28 @@
void call(String stepName) {
stepCorner = '+'
stepBanner = "║ $stepName ║"
bannerWidth = stepBanner.length() - 2
// banner = stepCorner + ('=' * bannerWidth) + stepCorner
red = '\033[31m'
blue = '\033[34m'
normal = '\033[0m'
stepBanner = "║ $blue$stepName$red ║"
bannerWidth = stepName.length() + 6
top = '╔' + ('═' * bannerWidth) + '╗'
bottom = '╚' + ('═' * bannerWidth) + '╝'
red = '\\e[31m'
normal = '\\e[0m'
ansiColor('xterm') {
echo "$red$top\n$stepBanner\n$bottom$normal"
}
}
// fg_black = '\x1b[30m'
// fg_red = "\x1b[31m"
// fg_green = "\x1b[32m"
// fg_yellow = "\x1b[33m"
// fg_blue = "\x1b[34m"
// fg_magenta = "\x1b[35m"
// fg_cyan = "\x1b[36m"
// fg_white = "\x1b[37m"
// fg_default = "\x1b39m"
// fg_reset = "\x1b[0m"
//