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

Support Bitbucket Cloud as PR provider

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.2
    • Component/s: Branch & PR
    • Labels:
      None
    • Edition:
      Developer

      Description

      Add the following analysis parameters:

      • sonar.pullrequest.bitbucketcloud.owner
      • sonar.pullrequest.bitbucketcloud.repository

      Also the SonarCloud App should be installed by the owner of the repo, and the following parameters should be set:

      • sonar.pullrequest.provider=bitbucketcloud
      • sonar.pullrequest.key=<bbc PR id>

      When they are passed, the correct PR title and URL should be fetched from the REST API.

      At the end of the analysis, the status should be set on the branch commit.

        Attachments

          Activity

            People

            Assignee:
            fabrice.bellingard Fabrice Bellingard
            Reporter:
            julien.henry Julien Henry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: