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

Provide a Bitbucket Pipe that polls for the SonarQube Quality Gate status

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.0
    • Component/s: Scanner
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      We will provide a Bitbucket Pipe that can poll SonarQube for a Quality Gate status. If the Quality Gate is red, the pipe will fail. Here's the official documentation for writing Bitbucket Pipes.

      Bitbucket pipe name

      sonarsource/sonarqube-quality-gate

      Nice to have

      • Basic pipeline to update the docker hub
      • Pipeline test script

      Pipe parameters

      • SONAR_TOKEN: for authentication to the SonarQube server (mandatory)
      • REPORT_FILE: path to the report-task.txt file (optional, default to $BITBUCKET_PIPE_SHARED_STORAGE_DIR/sonarsource/sonarqube-scan/report-task.txt)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              michal.duda Michal Duda (Inactive)
              Reporter:
              wouter.admiraal Wouter Admiraal
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: