I can't seem to figure out how to configure include regions for the Git 
plugin when defining a pipeline. They don't seem to be adhered to.
This is what I currently have:

checkout([$class: 'GitSCM', branches: [[name: '*/master']],
              userRemoteConfigs: [
                  [url: '[email protected]:johnrengelman/infrastructure.git']
                ],
              extensions: [
                  [$class: 'PathRestriction', includedRegions: 
'environments/dev/.*', excludedRegions: '']
                ]
            ])

I've also tried the full classpath for 'PathRestriction'.
The pipeline runs regardless of where the changes are.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/97c0e306-9f7a-4d2a-a2df-64d776a48b6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to