Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-10831

Don't pollute log when Bitbucket Cloud app is not installed

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: Scanner, Web API
    • Labels:
      None
    • Edition:
      Developer
    • Production Notes:
      None

      Description

      When an analysis is triggered from Bitbucket pipeline, the WS http://sonarcloud.io/integration/bitbucketcloud/branch_info is called to determine analysis properties. In case the user has not yet installed the SonarCloud App in its team, it will log an error in server logs, while in fact we simply want to report the error on scanner side.

      Fail to process request http://sonarcloud.io/integration/bitbucketcloud/branch_info?project=xxx&owner=xxx&repo=xxx&branchName=xxx
      
      java.lang.IllegalStateException: SonarCloud app not installed for 'xxx'
        at com.sonarsource.branch.A.A.A.C.handle(Unknown Source)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julien.henry Julien Henry
                Reporter:
                julien.henry Julien Henry
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: