update build

This commit is contained in:
Nick Darrell
2023-10-04 14:27:18 +00:00
parent 0a3dc19f7c
commit d8545a5500
3 changed files with 7 additions and 11 deletions

1
Jenkinsfile vendored
View File

@ -32,6 +32,7 @@ pipeline {
--insecure=true \
--insecure-registry=docker-registry.default:5000 \
--cache=true \
--build-arg NEXUS_TOKEN=${NEXUS_TOKEN} \
--cache-repo=docker-registry.default:5000/${REPOSITORY} \
--destination ${env.REPOSITORY}:\$(echo ${BRANCH_NAME} | grep -Eo 'feature/([A-Za-z]+-[0-9]*)' | grep -Eo '[A-Za-z]+-[0-9]*' || \
echo ${BRANCH_NAME} | grep -Eo '(release|hotfix)/[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+' | grep -Eo '[[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+' || \