How does a multibranch pipeline work?
BeginnerConceptMultibranch, organization folders & webhooks
Answer
A multibranch job points at one repository through a branch source (GitHub, Bitbucket, GitLab, plain Git). During branch indexing it lists branches, PRs and tags, checks each for the configured script path (default Jenkinsfile), and creates a child job for every head that has one. New commits trigger builds of the matching child. When a branch is deleted, its job is removed according to the orphaned item strategy.
More on Multibranch, organization folders & webhooks
What is branch indexing and what triggers it?BeginnerWhat are the discovery traits in the GitHub branch source?IntermediateWhat 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