Browse Source

更新 'jenkinsfilenew_api'

dev
iris_cx 2 years ago
parent
commit
c9f7737eb2
  1. 4
      jenkinsfilenew_api

4
jenkinsfilenew_api

@ -3,10 +3,10 @@ podTemplate {
env.IMAGE_NAME = "${IOT_IMAGES_REGISTRY}/${IOT}/${JOB_NAME}"
env.IMAGE_NAME_SHORT = "${IOT}/${JOB_NAME}"
env.SVN_Add = "https://gitea.anxinyun.cn/free-sun/OperationalService.git"
#env.SVN_Add = "https://gitea.anxinyun.cn/free-sun/OperationalService.git"
stage('Run shell') {
checkout([$class: 'SubversionSCM', filterChangelog: false, locations: [[cancelProcessOnExternalsFail: true, credentialsId: 'svn-build', depthOption: 'infinity', ignoreExternalsOption: true, local: '.', remote: "${SVN_Add}"]], quietOperation: true, workspaceUpdater: [$class: 'UpdateUpdater']])
checkout(git credentialsId: 'gitea-builder', url: 'https://gitea.anxinyun.cn/free-sun/OperationalService.git')
container('image-builder') {
sh'''

Loading…
Cancel
Save