From f329b6c7b26a21a1a8b39072eca7dc90c30f3cd5 Mon Sep 17 00:00:00 2001 From: iris_cx Date: Mon, 12 Jun 2023 03:23:11 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=95=86=E7=94=A8=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jenkinsfilenew_api | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/jenkinsfilenew_api b/jenkinsfilenew_api index c5c9213..de67b19 100644 --- a/jenkinsfilenew_api +++ b/jenkinsfilenew_api @@ -3,14 +3,14 @@ podTemplate { env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${IOT}/${JOB_NAME}" env.IMAGE_NAME_SHORT = "${IOT}/${JOB_NAME}" - env.GIT_Add = "${GIT_ADDRESS}/free-sun/OperationalService/src/branch/dev/api" + env.GIT_Add = "${GIT_ADDRESS}/free-sun/OperationalService.git" stage('Run shell') { checkout([$class: 'SubversionSCM', filterChangelog: false, locations: [[cancelProcessOnExternalsFail: true, credentialsId: 'svn-build', depthOption: 'infinity', ignoreExternalsOption: true, local: '.', remote: "${GIT_Add}"]], quietOperation: true, workspaceUpdater: [$class: 'UpdateUpdater']]) container('image-builder') { sh''' - /kaniko/executor --context=${BUILD_WORKSPACE} --dockerfile=./Dockerfilenew --destination=${IMAGE_NAME}:${IMAGE_VERSION} --cache=false --cleanup + /kaniko/executor --context=${BUILD_WORKSPACE} --dockerfile=./api/Dockerfilenew --destination=${IMAGE_NAME}:${IMAGE_VERSION} --cache=false --cleanup ''' } @@ -18,4 +18,4 @@ podTemplate { buildDescription "${IMAGE_NAME}:${IMAGE_VERSION}" } } -} +} \ No newline at end of file