Sentry
Parameters
Name | Description |
---|---|
organization_slug Required String | The slug of the organization the release belongs to. |
integration_id Required Integer | The ID of the integration. |
name Required String | The name of the action. |
trigger_time Required String | Specifies when the action should be executed. Can be one of ON_EVERY_EXECUTION , ON_FAILURE or ON_BACK_TO_SUCCESS . |
type Required String | The type of the action. Should be set to SENTRY . |
version Required String | The version identifier of the release. |
environment Required String | The environment you’re deploying to. |
organization_name String | The name of the organization the release belongs to. |
deploy_url String | The optional url that points to the deploy. |
release_url String | An optional commit reference. |
projects String[] | The list of project slugs that are involved in this release. |
run_only_on_first_failure Boolean | Defines whether the action should be executed on each failure. Restricted to and required if the trigger_time is ON_FAILURE . |
after_action_id Integer | The numerical ID of the action, after which this action should be added. |
Example
actions:
- action: "Sentry Action"
type: "SENTRY"
trigger_time: "ON_EVERY_EXECUTION"
organization_slug: "buddyworks"
organization_name: "Buddy"
version: "${execution.to_revision.revision}"
environment: "linux"
release_url: "${execution.to_revision.html_url}"
deploy_url: "${execution.html_url}"
projects:
- "java"
- "my_proj"
integration_id: 1