From 95b315f78bd5447880381407d5884b37743b580b Mon Sep 17 00:00:00 2001 From: iris_cx Date: Fri, 16 Jun 2023 02:08:32 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'jenkinsfilenew=5Fapi'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jenkinsfilenew_api | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jenkinsfilenew_api b/jenkinsfilenew_api index 1b23ca1..d484e74 100644 --- a/jenkinsfilenew_api +++ b/jenkinsfilenew_api @@ -3,9 +3,10 @@ podTemplate { env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${IOT}/${JOB_NAME}" env.IMAGE_NAME_SHORT = "${IOT}/${JOB_NAME}" + env.CODE_ADDR = "${GIT_ADDRESS}/free-sun/OperationalService/src/branch/dev/web" stage('Run shell') { - git credentialsId: 'gitea-builder', url: 'https://gitea.anxinyun.cn/free-sun/OperationalService.git' + git branch: 'dev', credentialsId: 'gitea-builder', url: "${CODE_ADDR}" container('image-builder') { sh'''