From b532e7cc16a8300fa0864a23e4a778c283268219 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 1 Feb 2023 14:23:10 +0000 Subject: [PATCH] environment test --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 0b562ca..10da41c 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} """