Как отключить мелкое, чтобы получить всю глубину или глубину 20 из сценария конвейера jenkins? - PullRequest
0 голосов
/ 07 октября 2018

У меня есть следующий код.Не знаете, как я могу изменить его глубину или отключить мелководье?

checkout changelog: false, poll: false, scm: [$class: 'SubversionSCM', additionalCredentials: [], excludedCommitMessages: '', excludedRegions: '', excludedRevprop: '', excludedUsers: '', filterChangelog: false, ignoreDirPropChanges: false, includedRegions: '', locations: [[cancelProcessOnExternalsFail: false, credentialsId: 'af4ef5f8-edbb-425e-9136-345dbab58cbe', depthOption: 'infinity', ignoreExternalsOption: true, local: 'packaging', remote: 'svn+ssh://code.abc.com:321/packaging']], quietOperation: true, workspaceUpdater: [$class: 'CheckoutUpdater']],extensions: [[$class: 'CloneOption', depth: 20, noTags: false, reference: '', shallow: false]]
 checkout changelog: false, poll: false, scm: [$class: 'SubversionSCM', additionalCredentials: [], excludedCommitMessages: '', excludedRegions: '', excludedRevprop: '', excludedUsers: '', filterChangelog: false, ignoreDirPropChanges: false, includedRegions: '', locations: [[cancelProcessOnExternalsFail: false, credentialsId: 'af4ef5f8-edbb-425e-9136-345dbab58cbe', depthOption: 'infinity', ignoreExternalsOption: true, local: 'abcVersion', remote: 'svn+ssh://code.abc.com:321/devqa/trunk']], quietOperation: true, workspaceUpdater: [$class: 'CheckoutUpdater']],extensions: [[$class: 'CloneOption', depth: 20, noTags: false, reference: '', shallow: false]]


dir('mi-build') {
                git branch: 'UIk', credentialsId: 'abc', url: 'https://ghe.megaleo.com/infra/mibuild.git'
            }
dir('mi') {
                git branch: 'UIa', credentialsId: 'adm', url: 'https://ghe.megaleo.com/infra/mi.git'
            }
...