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