Browse Source

sh 'switch-auth.sh anxinyun'

dev
巴林闲侠 2 years ago
parent
commit
8ce7d89e3a
  1. 1
      jenkinsfile_api

1
jenkinsfile_api

@ -8,7 +8,6 @@ pipeline {
stages { stages {
stage('Highways4Good Api ......') { stage('Highways4Good Api ......') {
steps { steps {
sh 'switch-auth.sh anxinyun'
buildName "#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}" buildName "#${BUILD_NUMBER} ~/fs-cloud/${JOB_NAME}:${IMAGE_VERSION}"
buildDescription "harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}" buildDescription "harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION}"
sh 'nerdctl build -t harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION} ./api' sh 'nerdctl build -t harbor.anxinyun.cn/iot/${CLOUD}/${JOB_NAME}:${IMAGE_VERSION} ./api'

Loading…
Cancel
Save