Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sonar-quality-gates-checker fails with bitbucket pull-request #526

Open
brandonm opened this issue Dec 14, 2022 · 0 comments
Open

sonar-quality-gates-checker fails with bitbucket pull-request #526

brandonm opened this issue Dec 14, 2022 · 0 comments

Comments

@brandonm
Copy link

When triggering pipeline from BitBucket Pull Request (pullrequest:created or pullrequest:updated events) the step sonar-quality-gates-checker will always fail. The required CF_PULL_REQUEST_NUMBER field for PRs is not set by codefresh. We have CF_PULL_REQUEST_ID.

pr = os.getenv('CF_PULL_REQUEST_NUMBER', None)

@brandonm brandonm changed the title sonar-quality-gates-checker with BitBucket Pull Request sonar-quality-gates-checker fails with bitbucket pull-request Dec 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant