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',