For Gitflow based workflow, three pipelines(Dev, QA & prod) are recommended.
My understanding is, if there are 2-3 developers in a single team, with short-lived feature branches which commit changes in predefined time(24 hrs), then Trunk based development is preferred, as shown below. Developers on a team are committing their changes to the trunk(master) multiple times a day.

Advantage using TBD:
With TBD, there is a master branch and multiple Release branches from master.
where as
With Gitflow, there are multiple Release branches from long-lived Develop branch.
1) Using TBD, How many pipelines are required using Jenkins?
2) What is the input/output of each pipeline?
Personally I would prefer Trunk based development regardless of the team size :)
The number of release branches isn't really dictated by the methodology used (TBD or something else), but rather by business reasons:
You'd need one Jenkins pipeline for every release branch and one for the primary development branch (if you're not releasing directly from it).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With