Update Jenkins file to replace periods with dashes in shortname and dbsuffix naming.
This commit is contained in:
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@@ -13,7 +13,7 @@ node {
|
|||||||
def jiraTicket = env.BRANCH_NAME.find(/HOR-\d+/)
|
def jiraTicket = env.BRANCH_NAME.find(/HOR-\d+/)
|
||||||
|
|
||||||
def shortname = env.BRANCH_NAME.replace('/', '-').toLowerCase()
|
def shortname = env.BRANCH_NAME.replace('/', '-').toLowerCase()
|
||||||
def dbSuffix = shortname.replace('-', '')
|
def dbSuffix = shortname.replace('-', '').replace('.', '')
|
||||||
|
|
||||||
echo "Building for ${env.BRANCH_NAME}"
|
echo "Building for ${env.BRANCH_NAME}"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user