Sentry with YAML

YAML parameters for Sentry

You can find the list with common parameters for all Buddy actions here.

NameTypeDescription
action
Required
StringThe name of the action.
type
Required
StringThe type of the action. Should be set to SENTRY.
organization_slug
Required
StringThe slug of the organization the release belongs to.
integration_id
Required
IntegerThe ID of the integration.
version
Required
StringThe version identifier of the release.
environment
Required
StringThe environment you’re deploying to.
organization_name
Required
StringThe name of the organization the release belongs to.
organization_slug
Required
StringThe short name of your organization.
deploy_urlStringThe optional url that points to the deploy.
release_urlStringAn optional commit reference.
projects
Required
String[]The list of project slugs that are involved in this release.
repositoryStringIf Sentry is integrated with repository provider, you can enter the project slug here. You can use the $BUDDY_REPO_SLUG variable as well.

YAML example for Sentry

actions:
- action: "Sentry Action"
type: "SENTRY"
trigger_time: "ON_EVERY_EXECUTION"
organization_slug: "buddyworks"
organization_name: "Buddy"
version: "${BUDDY_EXECUTION_REVISION}"
environment: "$env"
release_url: "${BUDDY_EXECUTION_REVISION_URL}"
deploy_url: "${BUDDY_EXECUTION_URL}"
repository: "$BUDDY_REPO_SLUG"
projects:
- "java"
- "my_proj"
integration_id: 1
variables:
- key: "env"
value: "linux"