Fix CI branch names being incorrectly replaced

This commit is contained in:
Jamie Curnow 2023-11-09 07:35:24 +10:00
parent 53dbe258a5
commit edb81ecce0
No known key found for this signature in database
GPG Key ID: FFBB624C43388E9E

2
Jenkinsfile vendored
View File

@ -17,7 +17,7 @@ pipeline {
IMAGE = 'nginx-proxy-manager'
BUILD_VERSION = getVersion()
MAJOR_VERSION = '2'
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase().replaceAll('/', '-').replaceAll('.', '-')}"
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase().replaceAll('\\\\', '-').replaceAll('/', '-').replaceAll('\\.', '-')}"
COMPOSE_PROJECT_NAME = "npm_${BRANCH_LOWER}_${BUILD_NUMBER}"
COMPOSE_FILE = 'docker/docker-compose.ci.yml'
COMPOSE_INTERACTIVE_NO_CLI = 1