How would you design a Jenkins pipeline for multi-branch deployments?
Managing deployments for multiple branches (e.g., Dev, QA, Prod) in Jenkins can streamline the development and release process. This question focuses on setting up a Jenkins pipeline that supports multi-branch deployments, enabling different branches to deploy to specific environments. Examples might include a sample Jenkinsfile demonstrating environment-specific configurations.