Interview Prep/CI/CD/Jenkins in Production

What are the trade-offs of Jenkins Multibranch versus a single parameterised job?

BeginnerProductionJenkins in Production
Answer

Multibranch creates a job per branch and PR automatically, uses each branch's Jenkinsfile, and cleans up when branches are deleted, which is ideal for CI. A single parameterised job is simpler for operational tasks (run a one-off deploy, rotate a key) where there is no branch concept. We use Multibranch for builds and parameterised jobs (still defined by Jenkinsfile in a repo) for ops.

All CI/CD questions

More on Jenkins in Production