This feature will allow skipping any Stage of a Plan during execution Based on a condition. For example, when configuring a skip condition on a Stage, users can have something like these: "If the branch name is 'test_branch', skip this Stage", "If it's 9am to 6pm now, skip this Stage", "If the Plan is triggered manually, skip this Task".
Skip this Stage based on:
- time interval
- how the Plan (and therefore the Stage) has been triggered
- who triggered the Plan/Stage (list of user names or groups)
- who committed changes to the Configured Repositories for this Plan(Stage)
- what branch is running the Stage (the user can specify a list of branch names, or set a regular expression)
- the Agent or Environment (user can specify the agent name)
(This list can be expanded)
I vote as well.
Colleagues, maybe for anyone it will be useful:
You could try to use the "Stop job execution" as the first task of the jobs.
With some conditions for these tasks, you could control the flow of execution.