githubEdit

Notifications

DeviceCloud can notify you when a test run is complete via email or webhook.

Email Notifications

Configure email notifications in your config.yaml:

Notify on failures only

# .maestro/config.yaml
notifications:
  email:
    enabled: true
    recipients:
      - [email protected]
      - [email protected]

Notify on successes and failures

# .maestro/config.yaml
notifications:
  email:
    enabled: true
    onSuccess: true
    recipients:
      - [email protected]
      - [email protected]

Webhook Notifications

DeviceCloud can send a POST request to a URL of your choice when a set of tests completes.

Enabling Webhooks

Head to the console settingsarrow-up-right page and scroll to the Webhooks section. Enter your webhook URL there.

circle-info

Only HTTPS URLs are supported.

You can also send a test request from the console to verify that your endpoint processes webhooks correctly. The test payload will contain information from your most recent job.

Webhook Structure

Request headers:

Request body:

Webhook Secrets

All webhook requests are signed with the secret shown on your DeviceCloud console. Use this to verify the request came from DeviceCloud.

Keep this secret private, just like your API key.

Last updated