Sending deployments from CI
Documentation
ProbePilot tracks deployments that your own CI reports. Your CI sends an HTTP request to the app’s inbound web trigger, and the app records the deployment against the environment it names.
Sources
The app understands deployment events from GitHub, GitLab and Jenkins, and a generic JSON format for any other CI system. An administrator creates one token for each source in the administration settings.
The request
- Send the request from your own CI, to the web trigger URL shown in the administration settings.
- Send the token in the
Authorizationheader as a bearer token. Tokens in the URL query string are refused. - Keep the URL and the token secret, as you would any credential. Store them in your CI’s secret store, and create a new token if you think one has leaked.
- Requests are limited to 256 KB.
GitHub cannot send a bearer header from its native webhooks, so for GitHub use a step in your workflow that makes the request.
What the endpoint answers
| Status | Meaning |
|---|---|
| 202 | The deployment was accepted. |
| 200 | The same event was already recorded, so nothing changed. Repeating an event is safe. |
| 400 | The request could not be understood. |
| 401 | The token is missing or wrong. |
| 413 | The request is larger than 256 KB. |
| 422 | The request is valid but cannot be processed, for example the environment is unknown. |
| 500 | An error on our side. Try again. |
What is stored
A deployment record keeps the source, the environment, the commit reference, the pipeline link and the status. It does not store the name or email of whoever triggered the pipeline. Tokens are stored only as SHA-256 hashes, together with the account ID of the person who created each one. See uninstall and your data.