Skip to content

Commit 26ec0cd

Browse files
authored
ci: replace special chars (#799)
1 parent 1331dc5 commit 26ec0cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
pipeline {
66
agent { label 'ubuntu-20 && immutable' }
77
environment {
8-
BRANCH_NAME_LOWER_CASE = "${env.BRANCH_NAME.toLowerCase()}"
8+
BRANCH_NAME_LOWER_CASE = "${env.BRANCH_NAME.toLowerCase().replaceAll('[^a-z0-9-]', '-')}"
99
CREATED_DATE = "${new Date().getTime()}"
1010
ENVIRONMENT = "ci"
1111
REPO = "elastic-package"

0 commit comments

Comments
 (0)