Allow conditions for stages

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Fixed
    • 9.2.0
    • Component/s: Stages
    • None

      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.

              Assignee:
              Unassigned
              Reporter:
              Jonas Gucu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: