So I'm trying to make a Multibranch Pipeline for a few different projects.
These are the basic requirements:
- three jobs dev, stage, prod for each client
- for each job, pull the respective branch from each repo and build a bot
- If anything changes in a repo that a job is using, trigger a build for that environment
So these requirements are pretty straightforward.
But there's a fourth requirement. What I'm trying to figure out is if I can have a repo that can hold all of my jenkinsfiles and then build all the branches of another repo. Is this possible? All other answers seem to point to deprecated solutions, such as a freestyle Multibranch project.