We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6db6a4 commit 373b24cCopy full SHA for 373b24c
vars/runJenkinsPipeline.groovy
@@ -667,7 +667,7 @@ def call(){
667
echo "CONFIG = ${CONFIG}"
668
def build_args = CONFIG['docker']['build']['buildArgs'].collect{"--build-arg=${it}"}.join(' ')
669
def dockerImage = docker.build("${IMAGE_NAME}:${DOCKER_TAG}", "${build_args} .")
670
- withEnv(['DOCKER_REGISTRY=${CONFIG["docker"]["server"]["registry"]}']){
+ withEnv(["DOCKER_REGISTRY=${CONFIG["docker"]["server"]["registry"]}"]){
671
sh 'docker login $DOCKER_REGISTRY -u $DOCKER_CRED_USR -p $DOCKER_CRED_PSW'
672
}
673
// docker.withRegistry(CONFIG['docker']['server']['registry'], 'jenkins-nexus'){
0 commit comments