update build
This commit is contained in:
1
Jenkinsfile
vendored
1
Jenkinsfile
vendored
@ -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:]]+' || \
|
||||
|
Reference in New Issue
Block a user