From 88282a714bbe6f16eb47f16718151c0fa864d7fb Mon Sep 17 00:00:00 2001 From: Julin Date: Thu, 27 Apr 2023 16:45:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E6=9E=84=E5=BB=BA=E7=9A=84?= =?UTF-8?q?=E5=BD=93=E5=89=8D=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/pep-stats-report/jenkinsfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/pep-stats-report/jenkinsfile b/code/pep-stats-report/jenkinsfile index 48f4db0..319e0a8 100644 --- a/code/pep-stats-report/jenkinsfile +++ b/code/pep-stats-report/jenkinsfile @@ -10,8 +10,12 @@ pipeline { steps { buildName '#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}' buildDescription 'harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}' - sh 'nerdctl build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} .' - sh 'nerdctl push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}' + sh ''' + pwd + + nerdctl build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} . + nerdctl push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} + ''' } } }