Continuous Delivery Director

Expand all | Collapse all

How to trigger a phase execution in CDD via the REST api?

Jump to Best Answer
  • 1.  How to trigger a phase execution in CDD via the REST api?

    Posted 08-08-2018 07:45 AM

    How to trigger a phase execution in CDD via the REST api?

    I tried to search on the swagger documentation, but couldn't find anything relevant.

     

    Can someone help?



  • 2.  Re: How to trigger a phase execution in CDD via the REST api?

    Broadcom Employee
    Posted 08-08-2018 08:03 AM

    Have a look in the Execution section.  An example would be

    Patch http://192.168.10.01:8080/cdd/execution/0000/v1/releases-execution/19/phases-execution/63

    Body is{"status": "RUNNING"}

    you will need the release id and the phase id.

    regards



  • 3.  Re: How to trigger a phase execution in CDD via the REST api?
    Best Answer

    Broadcom Employee
    Posted 08-08-2018 12:04 PM

     

     



  • 4.  Re: How to trigger a phase execution in CDD via the REST api?

    Broadcom Employee
    Posted 08-08-2018 12:11 PM

    Hi Saurabh

     

    Please see the above response from Billy.

    In general, you can always execute the operation at CDD UI and use the browser network console ( F12 ) for getting the related REST API.

    See above screen shots of CDD UI.

     

    Please let me know if any further clarification/help is needed.

     

    Thanks

     Ofer

     ofer.yaniv@ca.com 



  • 5.  Re: How to trigger a phase execution in CDD via the REST api?

    Broadcom Employee
    Posted 08-14-2018 03:57 AM

    Hello Saurabh,

     Did solution provided by Ofer, answer your query? If yes, may I request if you can mark the solution correct as it will help other viewers.

     

    In case if you still have open question please let us know.

     

    Regards,

    Saurabh



  • 6.  Re: How to trigger a phase execution in CDD via the REST api?

    Broadcom Employee
    Posted 08-17-2018 04:38 AM

    Hi Saurabh,

     I am marking it as assumed answer in case if it doesn't please let us know and post your query on communities.

     

    Regards,

    Saurabh