Interview Prep/Jenkins/Multibranch, organization folders & webhooks

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.

All Jenkins questions Roadmap: Jenkins

More on Multibranch, organization folders & webhooks