#26 Fix docker build again
This commit is contained in:
2
build/Jenkinsfile
vendored
2
build/Jenkinsfile
vendored
@@ -65,7 +65,7 @@ pipeline {
|
||||
def jarPath = sh(script: "ls target/checkout/web-container/target/*.jar | head -n 1", returnStdout: true).trim()
|
||||
def releaseVer = sh(script: "pkgx mvn help:evaluate -Dexpression=project.version -q -DforceStdout -f target/checkout/web-container/pom.xml", returnStdout: true).trim()
|
||||
def registry = env.DOCKER_REGISTRY.toLowerCase()
|
||||
def registryHost = registryUrl.replace("https://", "").replace("http://", "").replaceAll("/\$", "").toLowerCase()
|
||||
def registryHost = registry.replace("https://", "").replace("http://", "").replaceAll("/\$", "").toLowerCase()
|
||||
def imageTag = "${registryHost}/nbscloud:${releaseVer}".toLowerCase()
|
||||
|
||||
docker.withRegistry(registry, '') {
|
||||
|
||||
Reference in New Issue
Block a user