Bash

Report a deploy to Rollbar from the Bash shell

To report a deploy, use a cURL command to call the Rollbar Deploy API directly.
Below is an example:

curl -H "X-Rollbar-Access-Token: POST_SERVER_ACCESS_TOKEN" -H "Content-Type: application/json" -X POST 'https://api.rollbar.com/api/1/deploy' -d '{"environment": "qa", "revision": "dc1f74dee5", "rollbar_name": "john", "local_username": "circle-ci", "comment": "Tuesday deployment", "status": "succeeded"}'