Browse Source

测试

dev_trial
wenlele 2 years ago
parent
commit
3550b8932f
  1. 3
      jenkinsfile_vcmp_api

3
jenkinsfile_vcmp_api

@ -28,9 +28,10 @@ pipeline {
stages { stages {
stage('Testing site......') { stage('Testing site......') {
steps { steps {
sh 'switch-auth.sh anxinyun'
buildName "#${BUILD_NUMBER} ~/iot/${JOB_NAME}:${IMAGE_VERSION}" buildName "#${BUILD_NUMBER} ~/iot/${JOB_NAME}:${IMAGE_VERSION}"
buildDescription "harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}" buildDescription "harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}"
sh 'nerdctl build -t harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION} .' sh 'nerdctl build -t harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION} ./code/VideoAccess-VCMP/api '
sh 'nerdctl push harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}' sh 'nerdctl push harbor.anxinyun.cn/iot/${JOB_NAME}:${IMAGE_VERSION}'
} }

Loading…
Cancel
Save