From 26ec0cd7e01f1d7cb9fb40737be20b1e326f67bc Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 26 Apr 2022 08:56:19 +0100 Subject: [PATCH] ci: replace special chars (#799) --- .ci/Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/Jenkinsfile b/.ci/Jenkinsfile index d6a9841fd..9ee12dad1 100644 --- a/.ci/Jenkinsfile +++ b/.ci/Jenkinsfile @@ -5,7 +5,7 @@ pipeline { agent { label 'ubuntu-20 && immutable' } environment { - BRANCH_NAME_LOWER_CASE = "${env.BRANCH_NAME.toLowerCase()}" + BRANCH_NAME_LOWER_CASE = "${env.BRANCH_NAME.toLowerCase().replaceAll('[^a-z0-9-]', '-')}" CREATED_DATE = "${new Date().getTime()}" ENVIRONMENT = "ci" REPO = "elastic-package"