Browse Source

registry.anxinyun.cn web

master
wenlele 2 years ago
parent
commit
a3521b303b
  1. 8
      jenkinsfile_web

8
jenkinsfile_web

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

Loading…
Cancel
Save