--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/0c5e2277-a35d-4d6c-a342-45cb6d6951c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
I'm not sure I understand what you are trying to achieve with "Included and Excluded Regions (paths)"?SCMHeadFilter filters if the supplied SCMHead should be there or not. In your case if you would return false for the master branch it would not create a job for that branch. And if it already had a job it will be marked as dead and removed when the orphaned item strategy kicks in./B
Den sön 12 maj 2019 kl 15:56 skrev Peter Goodman <pe...@petegoo.com>:
Hi,--I'm trying to add an extension which will enable Included and Excluded Regions (paths) for Multi Branch GitHub pipelines.I can do this relatively simply using a SCMHeadFilter which works for pull requests because I can get the files changed in the entire pull request. For master though I would really only want to consider those commits since the last build.How can I figure that out in the SCMHeadFilter.isExcluded(SCMSourceRequest scmSourceRequest, SCMHead scmHead) method? Or is there another way to somehow set this on the underlying GitSCMBuilder when it is being built?Thanks,Pete
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkin...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/0c5e2277-a35d-4d6c-a342-45cb6d6951c1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d77a17af-2880-43e0-9bc9-f1963b4ed043%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/d77a17af-2880-43e0-9bc9-f1963b4ed043%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Searching for implementations I've found one that was first released 12 days agoLooks like I can just use this one.Do you know of a way that I can make a plugin like this configurable from a declarative pipeline?
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/81699146-1420-4e39-a82e-0d2adf5e0c5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.