Explorar el Código

Fix docker push for branches containing slashes

Jamie Curnow hace 5 años
padre
commit
f9e15a4470
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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') {