Fix CI compose project name not allowing dots

This commit is contained in:
Jamie Curnow 2023-10-17 11:57:14 +10:00
parent 3197de41de
commit 53dbe258a5
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('/', '-')}"
BRANCH_LOWER = "${BRANCH_NAME.toLowerCase().replaceAll('/', '-').replaceAll('.', '-')}"
COMPOSE_PROJECT_NAME = "npm_${BRANCH_LOWER}_${BUILD_NUMBER}"
COMPOSE_FILE = 'docker/docker-compose.ci.yml'
COMPOSE_INTERACTIVE_NO_CLI = 1