Fix for the right place to add dashes.

This commit is contained in:
Taylor Dondich
2017-02-06 15:15:01 -08:00
parent b8ff3add6b
commit db66e03953

4
Jenkinsfile vendored
View File

@@ -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}"