Bitbucket Pipelines x Sentry OnPromise

Hi,

It is possible to integrate Sentry OnPromise with Bitbucket Pipelines (Cloud)?

When i try to put the code on the Pipe:

      - step:
          name: Sentry Report
          script:
            - pipe: sentryio/sentry-new-release:0.3.0
              variables:
                SENTRY_AUTH_TOKEN: '*****'
                SENTRY_ORG: 'test-user'
                SENTRY_PROJECT: 'test-proyect'
                ENVIRONMENT: 'staging'
                FINALIZE: 'false'
                DEBUG: 'true'

The request was made to: DEBUG 2021-07-06 13:42:49.018762573 +00:00 request POST https://sentry.io/api/0/projects/test-user/test-proyect/releases/

Any way to override this domain to use Sentry On Promise?

Many Thanks!

BitBucket pipelines uses sentry-cli underneath: Bitbucket

That means all env variables applicable to sentry-cli would work: Configuration and Authentication | Sentry Documentation

That means you can set SENTRY_URL to your self-hosted instance URL and you should be good to go :slight_smile:

Sorry this is a bit buried.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.