Cette page n'est pas encore disponible en français, sa traduction est en cours. Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
CI Visibility is not available in the selected site () at this time.
Prepare the payload body by entering information about the pipeline execution in a cURL command:
Parameter Name
Description
Example Value
Unique ID
The UUID of the pipeline run. The ID has to be unique across retries and pipelines, including partial retries.
b3262537-a573-44eb-b777-4c0f37912b05
Name
The name of the pipeline. All pipeline runs for the builds should have the same name.
Documentation Build
Git Repository
The Git repository URL that triggered the pipeline.
https://github.com/Datadog/documentation
Commit Author
The commit author email that triggered the pipeline.
contributor@github.com
Commit SHA
The commit hash that triggered the pipeline.
cf852e17dea14008ac83036430843a1c
Status
The final status of the pipeline. Allowed enum values: success, error, canceled, skipped, blocked, or running.
success
Partial Retry
Whether or not the pipeline was a partial retry of a previous attempt. This field expects a boolean value (true or false). A partial retry is one which only runs a subset of the original jobs.
false
Start
Time when the pipeline run started (it should not include any queue time). The time format must be RFC3339.
2024-08-22T11:36:29-07:00
End
Time when the pipeline run finished. The time format must be RFC3339.
2024-08-22T14:36:00-07:00
URL
The URL to look at the pipeline in the CI provider UI.
After sending your pipeline event to Datadog, you can integrate additional event types such as stage, job, and step. For more information, see the Send Pipeline Event endpoint.
Running pipelines
Pipeline events sent with the status set to running have the same unique_id as the final pipeline event. Running pipelines can be updated by adding more information while they are still running. A running pipeline consists of the following events:
The initial running pipeline event with the status set to running.
Optionally, N running pipeline events that update the pipeline with more information, with the same unique_id and the status set to running.
The final pipeline event without a running status and the same unique_id.
Note: The most recent value may not always be the one displayed in the UI when a field is updated. For example, if the tag my_tag is set to value1 in the first running pipeline, and then is updated to value2, you may see value1 instead of value2 in the UI. It is recommended to only update running pipelines by adding more fields instead modifying existing ones.
Visualize pipeline data in Datadog
The CI Pipeline List and Executions pages populate with data after the pipelines are accepted for processing.
The CI Pipeline List page shows data for only the default branch of each repository. For more information, see Search and Manage CI Pipelines.
Further reading
Documentation, liens et articles supplémentaires utiles: