Add a new stage to an existing pipeline
The easiest way to add a new stage is to copy an earlier stage and modify it. That's what we'll do here...
- Navigate to the Admin section
- Select your pipeline from the pipeline list.
- Click "Edit This Pipeline"
-
Copy the original stage:
<stage name="uat"> <approval type="manual"> <authorization> <role>qa</role> </authorization> </approval> <jobs> <job name="deploy"> <resources> <resource>tomcat</resource> </resources> ... </job> </jobs> </stage> -
Paste it in the pipeline and edit the name and details as appropriate:
<stage name="production"> <approval type="manual"> <authorization> <role>release-managers</role> </authorization> </approval> <jobs> <job name="deploy"> <resources> <resource>tomcat</resource> </resources> ... </job> </jobs> </stage> - Click "Save"