-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
It would be nice to add an option to the github plugin's webhook triggers to only trigger the scm polling iff there are changes in certain file paths.
Currently the workaround is to create a job that triggers using a webhook, and there figure out what files that have changed in using changesets, and then build the relevant job.
Generic webhook triggers seem interesting alternative, however, I've been unable to get them to work with multibranch pipelines.
We find that `github-branch-plugin` in combination with multibranch build strategies doesn't work as expected.
We tried to use this to support monorepos through JobDSL with no luck (ommiting some additional config):
The buildStrategies are ignored and all projects in the monorepos get their build triggered no matter if they have changes within their directory or not.