From 85f5b778e8cfc8d701ca95e5c8d71a107cc62283 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 1 Feb 2023 15:05:16 +0000 Subject: [PATCH] environment test --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e2a836d..8e8f221 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -77,7 +77,7 @@ podTemplate( passwordVariable: 'HARBOR_PASSWORD']]) { sh """ docker login -u "${HARBOR_USER}" -p "${HARBOR_PASSWORD}" ${docker_registry_url} - docker build -t ${docker_registry_url}/prototype/cicd-java-spring-boot:${app_version} --build-arg JAR_NAME="cicd-${app_version}.jar" . + docker build -t ${docker_registry_url}/prototype/cicd-java-spring-boot:${app_version} --build-arg JAR_NAME=cicd-${app_version}.jar . docker push ${docker_registry_url}/prototype/cicd-java-spring-boot:${app_version} """ }