Manny DaSilva
2017-05-22 19:37:28 UTC
Jenkins ver. 2.61
Pipeline checkout GitSCM.
I'm new to Jenkins Pipeline. Regarding code as follows. I would like to
have multiple include regions for Git SCM polling.
I'm unable to determine the right syntax. How would I add an additional
included region?
checkout (scm: [$class: 'GitSCM',
branches: [[name: 'mybranch']],
browser: [$class: 'FisheyeGitRepositoryBrowser',
repoUrl: 'https://crucible.mycompany.com:8445/browse/myrepo/'],
doGenerateSubmoduleConfigurations: false,
extensions: [
[$class: 'CloneOption', depth: 0, honorRefspec: true, noTags:
true, reference: '', shallow: false],
[$class: 'RelativeTargetDirectory', relativeTargetDir:
'mytarget'],
[$class: 'DisableRemotePoll'],
[$class: 'PathRestriction', excludedRegions: '',
includedRegions: 'ManageApi/.*' ]
],
Pipeline checkout GitSCM.
I'm new to Jenkins Pipeline. Regarding code as follows. I would like to
have multiple include regions for Git SCM polling.
I'm unable to determine the right syntax. How would I add an additional
included region?
checkout (scm: [$class: 'GitSCM',
branches: [[name: 'mybranch']],
browser: [$class: 'FisheyeGitRepositoryBrowser',
repoUrl: 'https://crucible.mycompany.com:8445/browse/myrepo/'],
doGenerateSubmoduleConfigurations: false,
extensions: [
[$class: 'CloneOption', depth: 0, honorRefspec: true, noTags:
true, reference: '', shallow: false],
[$class: 'RelativeTargetDirectory', relativeTargetDir:
'mytarget'],
[$class: 'DisableRemotePoll'],
[$class: 'PathRestriction', excludedRegions: '',
includedRegions: 'ManageApi/.*' ]
],
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ac9dfe52-1d93-4f88-9eb1-91b9629a2650%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ac9dfe52-1d93-4f88-9eb1-91b9629a2650%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.