Browse Source

smart-city

master
wenlele 2 years ago
parent
commit
145fd361e8
  1. 8
      jenkinsfile_api

8
jenkinsfile_api

@ -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}'
}
}
}

Loading…
Cancel
Save