jenkins pipline svn检出配置

checkout([$class: 'SubversionSCM', 
          additionalCredentials: [], 
          excludedCommitMessages: '', 
          excludedRegions: '', 
          excludedRevprop: '', 
          excludedUsers: '', 
          filterChangelog: false, 
          ignoreDirPropChanges: false, 
          includedRegions: '', 
          locations: [[credentialsId: 'svn',  // jenkins 中 配置的 svn 用户名密码 id 
                       depthOption: 'infinity', 
                       ignoreExternalsOption: true, 
                       local: 'cable_branch', 
                       remote: "https://xxxxxxxxxxxxxxx"]], 
          workspaceUpdater: [$class: 'UpdateUpdater']])

posted on 2019-06-19 08:55  正义的伙伴!  阅读(1439)  评论(0编辑  收藏  举报

导航

//增加一段JS脚本,为目录生成使用