From b987f4706bbcf21a17e85a5b4568dfc166ad10cd Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 1 Feb 2023 14:19:54 +0000 Subject: [PATCH] environment test --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 10da41c..0b562ca 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -72,7 +72,7 @@ podTemplate( usernameVariable: 'HARBOR_USER', passwordVariable: 'HARBOR_PASSWORD']]) { sh """ - docker login -u ${HARBOR_USER} -p ${HARBOR_PASSWORD} ${docker_registry_url} + docker login -u "${HARBOR_USER}" -p "${HARBOR_PASSWORD}" ${docker_registry_url} docker build -t ${docker_registry_url}/prototype/cicd-java-spring-boot:${gitCommit} -f Dockerfile.arg --build-arg JAR_NAME="cicd-${gitCommit}.jar" . docker push ${docker_registry_url}/prototype/cicd-java-spring-boot:${gitCommit} """