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.
When triggering pipeline from BitBucket Pull Request (
pullrequest:created
orpullrequest:updated
events) the step sonar-quality-gates-checker will always fail. The requiredCF_PULL_REQUEST_NUMBER
field for PRs is not set by codefresh. We haveCF_PULL_REQUEST_ID
.https://github.com/codefresh-io/steps/blob/921417e7f9c463b210b8bd439442a7ec76c37213/incubating/sonar-quality-gates-checker/lib/sonarqube-api.py#L46