|
@ -11,9 +11,8 @@ pipeline { |
|
|
buildName '#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}' |
|
|
buildName '#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}' |
|
|
buildDescription 'harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}' |
|
|
buildDescription 'harbor.anxinyun.cn/pep/${JOB_NAME}:${IMAGE_VERSION}' |
|
|
sh ''' |
|
|
sh ''' |
|
|
pwd |
|
|
cd ${JOB_NAME}/code/pep-stats-report |
|
|
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} |
|
|
''' |
|
|
''' |
|
|
} |
|
|
} |
|
|