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?