From d3f3854f8d5eb4127d5ea2aa493806e16a542781 Mon Sep 17 00:00:00 2001 From: shenchangbin Date: Thu, 12 Nov 2026 15:31:09 +0800 Subject: [PATCH] =?UTF-8?q?ci(jenkins):=20=E8=B0=83=E6=95=B4=E9=95=9C?= =?UTF-8?q?=E5=83=8F=E4=BB=93=E5=BA=93=E8=B7=AF=E5=BE=84=E5=8F=8AGitea?= =?UTF-8?q?=E5=87=AD=E8=AF=81=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Jenkinsfile.crontab | 6 +++--- Jenkinsfile.rpc | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Jenkinsfile.crontab b/Jenkinsfile.crontab index 7105995..2780f83 100644 --- a/Jenkinsfile.crontab +++ b/Jenkinsfile.crontab @@ -12,7 +12,7 @@ pipeline { } environment { SERVICE = 'micro-crontab' - IMAGE_REPOSITORY = 'harbor.vitatech.com.cn:19443/backend/micro_layout-crontab' + IMAGE_REPOSITORY = 'harbor.vitatech.com.cn:19443/vitavideo/micro_layout-crontab' DOCKERFILE = 'build/crontab/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/micro_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', diff --git a/Jenkinsfile.rpc b/Jenkinsfile.rpc index dab50c3..d5bc6a1 100644 --- a/Jenkinsfile.rpc +++ b/Jenkinsfile.rpc @@ -12,7 +12,7 @@ pipeline { } environment { SERVICE = 'micro-rpc' - IMAGE_REPOSITORY = 'harbor.vitatech.com.cn:19443/backend/micro_layout-rpc' + IMAGE_REPOSITORY = 'harbor.vitatech.com.cn:19443/vitavideo/micro_layout-rpc' DOCKERFILE = 'build/srv/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/micro_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',