Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
Description
Hello,
I am currently facing an issue.
I have the following Stages & Jobs configuration:
Now when I merge a pull request into either development or master branches, all stages run.
What I want to achieve:
- if change happens in development branch - run build stage, then the first publish stage
- if change happens in master branch - run build stage, then the prod publish stage
Currently I don't see any way to add conditions to stages.
It is possible to add conditions to tasks, but that means going through every task and adding a conditional (planRepository.branch equals development/master).
Please add the ability to add conditions to stages.