diff --git a/vars/standardMakePipeline.groovy b/vars/standardMakePipeline.groovy index 3a277dc..308f959 100644 --- a/vars/standardMakePipeline.groovy +++ b/vars/standardMakePipeline.groovy @@ -27,7 +27,7 @@ void call(Map options = [:]) { String dockerfileExtension = options.get('dockerfileExtension', '') List credentials = options.get('credentials', []) - List releaseBranches = options.get('releaseBranches', ['develop', 'testing', 'stable']) + List releaseBranches = options.get('releaseBranches', ['develop', 'testing', 'stable', 'staging', 'master']) node { properties([ diff --git a/vars/utils.groovy b/vars/utils.groovy index 940050d..cda5130 100644 --- a/vars/utils.groovy +++ b/vars/utils.groovy @@ -52,8 +52,10 @@ String getProjectVersionShortChannel(String channel) { case 'develop': return 'dev' case 'testing': + case 'staging': return 'tst' case 'stable': + case 'master': return 'stb' default: return channel.toLowerCase().replaceAll('(a|e|i|o|u|y_|-| )+', '').take(3)