From 032004b1e59cf2b310c9a6d0c0781103b16f4ac8 Mon Sep 17 00:00:00 2001 From: wenlele Date: Wed, 1 Feb 2023 10:54:03 +0800 Subject: [PATCH] =?UTF-8?q?Jenkinsfile=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jenkinsfile_api | 8 ++++---- jenkinsfile_web | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/jenkinsfile_api b/jenkinsfile_api index 435a729..ef6c939 100644 --- a/jenkinsfile_api +++ b/jenkinsfile_api @@ -8,10 +8,10 @@ pipeline { stages { stage('巡检 api ......') { steps { - buildName "#${BUILD_NUMBER} ~/smart-city/${JOB_NAME}:${IMAGE_VERSION}" - buildDescription "registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION}" - sh 'nerdctl build -t registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION} ./api' - sh 'nerdctl push registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION}' + buildName "#${BUILD_NUMBER} ~/smartcity/${JOB_NAME}:${IMAGE_VERSION}" + buildDescription "harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}" + sh 'nerdctl build -t harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION} ./api' + sh 'nerdctl push harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}' } } } diff --git a/jenkinsfile_web b/jenkinsfile_web index 1e2ea1b..8840491 100644 --- a/jenkinsfile_web +++ b/jenkinsfile_web @@ -8,10 +8,10 @@ pipeline { stages { stage('巡检 web ......') { steps { - buildName "#${BUILD_NUMBER} ~/smart-city/${JOB_NAME}:${IMAGE_VERSION}" - buildDescription "registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION}" - sh 'nerdctl build -t registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION} ./web' - sh 'nerdctl push registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION}' + buildName "#${BUILD_NUMBER} ~/smartcity/${JOB_NAME}:${IMAGE_VERSION}" + buildDescription "harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}" + sh 'nerdctl build -t harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION} ./web' + sh 'nerdctl push harbor.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}' } } }