Question
1
Replies
51
Views
Posted: June 9, 2020
Last activity: June 16, 2020
Solved
How do i start deployment using Pega Deployment Manager API?
Hi,
How do i start deployments with Pega CI/CD API?
I saw merge, activate, disable, etc... but which rest service start deployments?
Regards,
Marius
***Edited by Moderator Kayla to update Platform Capability tags****
Hi,
I found how to start deployment:
GET PRRestService/cicd/v1/pipelines/<pipeline_ID>/builds
This create a new build with a generated build name. you can send parameters using:
{
"BuildName": "BUILD_NAME",
"OperatorID": "DMReleaseAdmin",
"OperatorName": "NAME",
"Description": "This is the description",
"Repository": "REP_NAME",
"ArtifactID": "XXXX.zip"
}
Hope this helps someone!