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.
More on Jenkins in Production
How do you run Jenkins for high availability and scale?AdvancedHow do you tune the Jenkins controller JVM and avoid out-of-memory crashes?AdvancedHow do you back up and restore Jenkins?IntermediateHow do you upgrade Jenkins and its plugins safely?IntermediateHow do you harden a Jenkins controller?AdvancedHow do you configure dynamic Kubernetes agents in Jenkins for production use?Intermediate