Browse Source

测试构建的当前目录

main
Julin 2 years ago
parent
commit
204d26a5c8
  1. 4
      code/pep-stats-report/jenkinsfile

4
code/pep-stats-report/jenkinsfile

@ -12,8 +12,8 @@ pipeline {
buildDescription 'harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}' buildDescription 'harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}'
sh ''' sh '''
pwd pwd
ls
nerdctl build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} . nerdctl build -t harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} ${JOB_NAME}/
nerdctl push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION} nerdctl push harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}
''' '''
} }

Loading…
Cancel
Save