What are the discovery traits in the GitHub branch source?
IntermediateConceptMultibranch, organization folders & webhooks
Answer
| Trait | Options |
|---|---|
| Discover branches | Exclude branches also filed as PRs (avoids double builds), only branches filed as PRs, all branches |
| Discover pull requests from origin | Merge with target (tests the merge result), the PR head, or both |
| Discover pull requests from forks | Same strategies plus a trust policy: Nobody, Collaborators, Everyone, From users with Admin or Write permission |
| Discover tags | Build tags (tag jobs are not built automatically unless a build strategy says so) |
Plus filters (Filter by name (with wildcards) or regex), clone options and status check behaviour.
More on Multibranch, organization folders & webhooks
How does a multibranch pipeline work?BeginnerWhat is branch indexing and what triggers it?BeginnerWhat does the fork PR trust setting protect against?AdvancedWhat environment variables are set for PR builds?BeginnerWhat is an organization folder?IntermediateHow does a GitHub webhook reach Jenkins and what URL do you configure?Beginner