I am working with a multibranch pipeline in a config.yaml building a code repo pulled from Git.
However I would like to add this to my config.yaml so the change persists.
A snippet of config.xml after configuring the above in the UI looks as such:
```
<buildStrategies>
<com.igalg.jenkins.plugins.multibranch.buildstrategy.ExcludeRegionBranchBuildStrategy
plugin="multibranch-build-...@1.0.10">
<excludedRegions>**/*.py</excludedRegions>
</com.igalg.jenkins.plugins.multibranch.buildstrategy.ExcludeRegionBranchBuildStrategy>
</buildStrategies>
```
However I am unsure how this maps to an entry in config.yaml.
In config.yaml I have tried adding the following code block under
Git```
configure { node ->
node / 'buildStrategies' /
'com.igalg.jenkins.plugins.multibranch.buildstrategy.ExcludeRegionBranchBuildStrategy'
{
excludedRegions '**/*.py'
}
}
```
however this does not seem to work either.
Has anyone found a workable CasC solution to ignore triggering a build for certain specified excluded regions?