Changing the Predecessor and Successor of a Stage
As you add stages to build the pipeline, a directed acyclic graph (DAG) of the stages is displayed. The graph shows all the linked stages in the pipeline that are eligible to run. At least one of the stages of the pipeline must be declared as a predecessor, which indicates that the stage is eligible to run immediately when the deployment begins. A pipeline can also be specified as the predecessor of a stage when it does not have a preceding stage. Furthermore, stages can have successors.
To modify the predecessor of a stage, follow these steps:
- In the directed acyclic graph, click the in the top-right corner of the stage that you want to edit.
- Select Modify Predecessors.
- Select the stage that you want to mark as the predecessor, and click Save.
To modify the successor of a stage, follow these steps:
- In the directed acyclic graph, click the Actions menu (
) in the top-right corner of the stage that you want to edit.
- Select Modify Successors.
- Select the stage that you want to mark as the successor, and click Save.