From 6eb8e379acd34c13ee4a6ba3c9f4ba8085dfb422 Mon Sep 17 00:00:00 2001 From: shenchangbin Date: Thu, 12 Nov 2026 15:31:07 +0800 Subject: [PATCH] =?UTF-8?q?ci(Jenkinsfile):=20=E6=9B=B4=E6=96=B0=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E4=BB=93=E5=BA=93=E5=9C=B0=E5=9D=80=E5=92=8CGit?= =?UTF-8?q?=E5=87=AD=E8=AF=81ID?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index e6639d9..e6feea5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,7 @@ pipeline { } environment { SERVICE = 'gin-api' - IMAGE_REPOSITORY = 'harbor.vitatech.com.cn:19443/backend/gin_layout-api' + IMAGE_REPOSITORY = 'harbor.vitatech.com.cn:19443/vitavideo/gin_layout-api' DOCKERFILE = 'Dockerfile' DEPLOY_ROOT = '/home/SHARE/devstack-scb/apps/layout-test' } @@ -29,7 +29,7 @@ pipeline { branches: [[name: '*/' + env.SOURCE_BRANCH]], userRemoteConfigs: [[ url: 'ssh://git@git.vitatech.com.cn:12222/leo/gin_layout.git', - credentialsId: 'gitea-layout-read' + credentialsId: 'gitea' ]], extensions: [[$class: 'CleanBeforeCheckout']] ]) @@ -41,7 +41,7 @@ pipeline { } stage('Build and push') { steps { - sshagent(credentials: ['gitea-layout-read']) { + sshagent(credentials: ['gitea']) { withCredentials([ file(credentialsId: 'gitea-known-hosts', variable: 'GIT_KNOWN_HOSTS'), usernamePassword(credentialsId: 'harbor-backend',