From 4dfeece7fc78e341821bef8244fa01ae5eb7b9f0 Mon Sep 17 00:00:00 2001 From: crusader Date: Thu, 2 Feb 2023 12:15:12 +0000 Subject: [PATCH] environment test --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 81f06cd..22a12e1 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -77,7 +77,7 @@ podTemplate( credentialsId: 'harbor.loafle.net', usernameVariable: 'HARBOR_USER', passwordVariable: 'HARBOR_PASSWORD']]) { - env.CONTAINER_IMAGE_NAME = "prototype/"env.PROJECT_NAME + env.CONTAINER_IMAGE_NAME = "prototype/${env.PROJECT_NAME}" sh """ docker login -u "${HARBOR_USER}" -p "${HARBOR_PASSWORD}" ${dockerRegistryUrl} docker build -t ${dockerRegistryUrl}/${env.CONTAINER_IMAGE_NAME}:${env.PROJECT_VERSION} --build-arg PROJECT_NAME=${env.PROJECT_NAME} --build-arg PROJECT_VERSION=${env.PROJECT_VERSION} .