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 [email protected].
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.

Reply via email to