소스 검색

Fix docker push for branches containing slashes

Jamie Curnow 5 년 전
부모
커밋
f9e15a4470
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Jenkinsfile

+ 1 - 1
Jenkinsfile

@@ -14,7 +14,7 @@ pipeline {
 		COMPOSE_FILE               = 'docker/docker-compose.ci.yml'
 		COMPOSE_INTERACTIVE_NO_CLI = 1
 		BUILDX_NAME                = "${COMPOSE_PROJECT_NAME}"
-		BRANCH_LOWER               = "${BRANCH_NAME.toLowerCase()}"
+		BRANCH_LOWER               = "${BRANCH_NAME.toLowerCase().replaceAll('/', '-')}"
 	}
 	stages {
 		stage('Environment') {