From db66e03953b84ccc7149652898619f64c24e5667 Mon Sep 17 00:00:00 2001 From: Taylor Dondich Date: Mon, 6 Feb 2017 15:15:01 -0800 Subject: [PATCH] Fix for the right place to add dashes. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 170ca59a7..b10158ce7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,8 +12,8 @@ node { // on jira ticket def jiraTicket = env.BRANCH_NAME.find(/HOR-\d+/) - def shortname = env.BRANCH_NAME.replace('/', '-').toLowerCase() - def dbSuffix = shortname.replace('-', '').replace('.', '') + def shortname = env.BRANCH_NAME.replace('/', '-').replace('.', '-').toLowerCase() + def dbSuffix = shortname.replace('-', '') echo "Building for ${env.BRANCH_NAME}"