Need to trigger Adobe Cloud Pipeline job from External System(command prompt)

chandrakantg550

20-06-2019

Hi Team,

We have CI/CD Code scan pipeline job configured and working in Cloud Manager. I need to trigger that pipeline job (Adobe Cloud Manager pipeline job) from command line (my system -external system) with branch name as a parameter. 

Currently the document which are available are having steps to integrate the access with Cloud manager but not having exact example or instructions to trigger the pipeline job (Adobe Cloud Manager pipeline job) from command line (my system -external system) with branch name as a parameter.

Could you please provide me the exact document for this integration?

Note:

Below are the reference document which I followed to integrate the access with Cloud Manager with JWT (JSON Web Token).

https://helpx.adobe.com/marketing-cloud-core/kb/adobe-io-authentication-step-by-step.html

https://www.adobe.io/apis/experiencecloud/cloud-manager/docs.html

Br

Chandrakant Gurhale

Replies

Highlighted

AndreiParaschiv

Employee

26-08-2019

- Have you tried the CloudManager CLI  https://github.com/adobe/aio-cli-plugin-cloudmanager/blob/master/README.md ? it requires first to have an integration with Adobe I/O (console.adobe.io)

-  Also, to trigger the pipeline, you can run the command :https://{host_name}}/api/program/{{program_id}}/pipeline/{{pipeline_id}}/execution ( API ). Did you try that as well?

Thanks,

Andrei

Highlighted

chandrakantg550

26-08-2019

Thanks Andrei for your valuable reply.

As per document, I have incorporated Cloud Manager Public API in Postman application and able to trigger pipeline job from api successfully. But, as per Adobe Support team update currently we can't provide branch name as parameter in api calls. They are going to integrate that feature in near future with Cloud Manager api.

I will try soon how we can use that api in Jenkins(external system) to trigger the Cloud manager pipeline job and will let you know.

Thanks Andrei for support.

Br

Chandrakant