From a1c6213e7d1929df555e9e65c8e34c77ff43dc98 Mon Sep 17 00:00:00 2001 From: Julin Date: Thu, 27 Apr 2023 16:52:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8C=87=E5=AE=9A=E9=A1=B9=E7=9B=AE=E7=9B=AE?= =?UTF-8?q?=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/pep-stats-report/jenkinsfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/pep-stats-report/jenkinsfile b/code/pep-stats-report/jenkinsfile index f3231d7..3a79a86 100644 --- a/code/pep-stats-report/jenkinsfile +++ b/code/pep-stats-report/jenkinsfile @@ -11,9 +11,8 @@ pipeline { buildName '#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}' buildDescription 'harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}' sh ''' - pwd - ls - nerdctl build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} ${JOB_NAME}/ + cd ${JOB_NAME}/code/pep-stats-report + nerdctl build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} . nerdctl push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} ''' }