Skip to main content

Configuring a Trigger deployment task

When you must deploy the changes made to the branches continuously to the Release pipeline to make the changes available for testing and releasing to Production, you can trigger a Deployment pipeline through a Merge pipeline. With the help of the Trigger Deployment task, you can achieve the continuous release of your application on a successful merge.

The Trigger Deployment task requires the Pipeline ID for the target pipeline for which it creates a deployment.

To configure Continuous Delivery (CD), include the Trigger Deployment task to trigger a deployment at the end of the Merge pipeline, which starts a Release pipeline for your application.

You can also use the Trigger deployment task on the Deployment pipeline.

Triggering a deployment on successful merge

You can start another pipeline by adding the Trigger deployment task to a stage in your current pipeline. By starting another pipeline from a current pipeline, you can add more stages to your pipeline.

To add the Trigger deployment task to a stage in your pipeline, perform the following steps:
  1. Do one of the following actions:
    • Click a task, click the More icon, and then click either Add task above or Add task below.
    • Click Add task in the stage.
  2. In the Task list, click Trigger deployment.
  3. In the Application name field, press the Down arrow key, and then select the application that you want to deploy.
  4. In the Pipeline name field, press the Down arrow key and, then select the pipeline that you want to start.
  5. If you want to deploy the artifact that you are deploying in the current pipeline, select the Deploy current artifact check box. Otherwise, a new application is deployed on the pipeline.
  6. Click Submit.

When you configure a Merge pipeline with the Trigger Deployment task, specify the Pipeline ID for the target application, as shown in the following figure: 

Image depicts adding the Trigger deployment Task to the Development stage.
Configuring a trigger deployment task with the target pipeline's ID.

Check your knowledge through the following interaction.


This Topic is available in the following Module:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice