Modifying stages and tasks in the pipeline
You can modify the stages and the tasks that are performed in each stage of the pipeline. For example, you can skip a stage or add tasks such as Pega unit testing to be done on the QA stage.
Do the following steps:
- If the pipeline is not open, in the navigation pane of Deployment Manager, click Pipelines and then click the name of the pipeline.
- Click Pipeline model.
- To specify that a branch must meet a compliance score
before it can be merged:
- In the Merge criteria pane, click Add task.
- From the Task list, select Check guardrail compliance.
- In the Weighted compliance score field, enter the minimum required compliance score.
- Click Submit.
For more information about compliance scores, see Compliance score logic. - To specify that a branch must be reviewed before it can
be merged:
- In the Merge criteria pane, click Add task.
- From the Task list, select Check review status.
- Click Submit.
For more information about branch reviews, see Branch reviews. - To run Pega unit tests on the branches for the pipeline
application or for an application that is associated with an access group before
it can be merged:
- In the Merge criteria pane, click Add task.
- From the Task list, select Pega unit testing.
- To run all the Pega unit tests for an application that is associated with an access group, in the Access Group field, enter the access group.
- Click Submit.
For more information about creating Pega unit tests, see Creating Pega unit test cases - To start a deployment automatically when a branch is
merged, select the Trigger deployment on merge check box.
Do not select this check box if you want to manually start a deployment. For more information, see Manually starting a deployment in Deployment Manager.
- Clear a check box for a deployment life cycle stage to skip it.
- In the Continuous Deployment
section, specify the tasks to be performed during each stage of the pipeline.
See the following topics for more information:
- Running Pega unit tests by adding the Run Pega unit tests task
- Running Jenkins steps by adding the Run Jenkins step task
- Specifying that an application meet a compliance score by adding the Check guardrail compliance score task
- Ensuring that the Application Security Checklist is completed by adding the Verify security checklist task
- Starting test coverage by adding the Enable test coverage task
- Stopping test coverage by adding the Validate test coverage task
- Running Pega scenario tests by adding the Run Pega scenario tests task
- Refreshing application quality by adding the Refresh application quality task
- Modifying the Approve for production task
- Clear the Production ready check box if you do not want to generate an application package, which is sent to the production repository. You cannot clear this check box if you are using a production stage in the life cycle.
- Click Finish.
- Run diagnostics to verify that your pipeline is
configured correctly. For more information, see Diagnosing a pipeline.
Previous topic Modifying merge options for branches Next topic Accessing systems in your pipeline