Example 1: Executing a Pipeline
Scenario
This section shows how to execute pipeline tasks by using APIs.
For details about how to call APIs, see Calling APIs.
Constraints
A pipeline task to be executed has been created in CodeArts Pipeline.
Involved APIs
Use request parameters such as the user token and pipeline ID to start a pipeline.
Procedure
- Execute a pipeline task.
- API information
URI: POST /v3/pipelines/{pipeline_id}/start
For details about this API, visit Starting a Pipeline.
- Example request
POST https://cloudpipeline-ext.ap-southeast-3.myhuaweicloud.com/v3/pipelines/{pipeline_id}/start - Example request body
{} - Example response
{ "build_id": "xxx", "pipeline_id": "824e784b3f43492e99152a....." }
- API information
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot