Custom Task creation in Pega Deployment manager - Devops

Hi Team,

I am planning to extend the Devops pipeline by creating a custom task which will invoke Azure Devops pipeline to execute test automation, DAST scripts etc. The expectation is to make a async call to Azure Devops like, Deployment manager will initiate a pipeline request and receive the Pipeline ID. Pega DM needs to pool and check the status of the Azure pipeline with the ID, and depending on the status of the Azure pipeline, DM pipeline should proceed further.

I am able to trigger the Azure Pipeline for the first call. However, not sure how to make the second call and get the status of the deployment pipeline, and move the pipeline further. Have created a “RunTask” activity which has the first API call.

@konda @Goutham input is greatly appreciated.

@BukhariS Able to achieve this by customizing the RunTask utility to open the task object and updated properties and use the OOTB job scheduler to pool it. please feel free to reach-out, if more info is needed.

@BukhariS Hi Bukhari, i have a same requirement to configure custom task to integrate with Azure devops.

i have just added ResourceUpdateInt call to test the custom task connection. got a warning (The task

execution failed on the target environment. Please validate if environment is on a supported Pega DevOps

foundation) . can you please advice on this and let me know what is the DM version from which custom task

supports. we are on Pega 8.6.3 and DM 5 version.

@BukhariS

Hi Bukhari, I am looking for ways to trigger an external pipeline as part of a DM pipeline. Could you please share the steps or references to achieve this?

Thanks,

Sud

@BukhariS : Can you please share the steps to invoke Azure Devops pipeline to execute test automation from PEGA DM

@BukhariS Hi BukhariS , were also looking for a similar solution new to Pega and trying to figure out how to create custom tasks to run Azure devops pipeline and check status as well, any details /steps to do this would be helpful