From 85e31f978714b1e24d7ebe85f05cbfca39512f3f Mon Sep 17 00:00:00 2001 From: "peng.peng" Date: Fri, 17 Mar 2023 16:51:25 +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 | 6 +++--- jenkinsfile_web | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/jenkinsfile_api b/jenkinsfile_api index ad38af2..14b5968 100644 --- a/jenkinsfile_api +++ b/jenkinsfile_api @@ -9,9 +9,9 @@ pipeline { stage('GovernmentDataResourceCenter Api ......') { steps { buildName "#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}" - buildDescription "harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}" - sh 'nerdctl build -t harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION} ./api' - sh 'nerdctl push harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}' + buildDescription "harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}" + sh 'nerdctl build -t harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION} ./api' + sh 'nerdctl push harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}' } } } diff --git a/jenkinsfile_web b/jenkinsfile_web index 8420908..9427875 100644 --- a/jenkinsfile_web +++ b/jenkinsfile_web @@ -9,9 +9,9 @@ pipeline { stage('GovernmentDataResourceCenter Web......') { steps { buildName "#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}" - buildDescription "harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}" - sh 'nerdctl build -t harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION} ./web' - sh 'nerdctl push harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}' + buildDescription "harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}" + sh 'nerdctl build -t harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION} ./web' + sh 'nerdctl push harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}' } } }