It supports filtering by branch name so you can limit it to only build certain branches. Add "Filter by name (with regular expression" or "Filter by name (with wildcards)" to the job configuration to only build specific branches.
It can limit branch discovery to exclude branches that are also filed as pull requests (for pull requests are being submitted in the same repository as the destination branch). Refer to "Discover branches". It can ignore pull requests from the origin repository by deleting the "Discover pull requests from origin" behavior. If can ignore pull requests from forks by deleting the "Discover pull requests from forks" behavior. Mark Waite On Wed, Aug 23, 2017 at 3:58 AM Steven Foster <[email protected]> wrote: > Does the Github multibranch source allow filtering for PRs that target a > particular base branch? > > So I want to build only branch 'foo/bar' and all PRs that are targeting > 'foo/bar' > > -- > 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/0c8038f4-fa05-496a-8cf5-8b2a4adad8df%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/0c8038f4-fa05-496a-8cf5-8b2a4adad8df%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAO49JtEzAtkVffN%3Dg%2B3P4d09vaypD3ezzu35yZtowurZDhqBbA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
