ci(jenkins): 调整镜像仓库路径及Gitea凭证配置

This commit is contained in:
admin committed 2026-11-12 15:31:09 +08:00
1 parent 9f2092b7c5
commit d3f3854f8d
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -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',
+3 -3
View File
@@ -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',