Were trying to use a Jenkins Workflow script to build multiple branches of the same repo.
So essentially we want the job to react to changes in BranchA
and BranchB
and build whichever one has changed.
From what I can understand about how SCM polling works with Workflow the branch that is being monitored is determined the first time the job runs based on which branch is cloned.
Does this mean this kind of multi-branch set-up isn't possible?