|
|
@ -8,10 +8,10 @@ pipeline { |
|
|
|
stages { |
|
|
|
stage('巡检 api ......') { |
|
|
|
steps { |
|
|
|
buildName "#${BUILD_NUMBER} ~/smartcity/${JOB_NAME}:${IMAGE_VERSION}" |
|
|
|
buildDescription "registry.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}" |
|
|
|
sh 'nerdctl build -t registry.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION} ./api' |
|
|
|
sh 'nerdctl push registry.anxinyun.cn/smartcity/${JOB_NAME}:${IMAGE_VERSION}' |
|
|
|
buildName "#${BUILD_NUMBER} ~/smart-city/${JOB_NAME}:${IMAGE_VERSION}" |
|
|
|
buildDescription "registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION}" |
|
|
|
sh 'nerdctl build -t registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION} ./api' |
|
|
|
sh 'nerdctl push registry.anxinyun.cn/smart-city/${JOB_NAME}:${IMAGE_VERSION}' |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|