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

Make it possible to configure GitHub integration settings on the UI

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.7
    • Component/s: Branch & PR
    • Labels:
      None
    • Edition:
      Developer
    • Production Notes:
      The private key definition must be updated in "sonar.properties". The definition has been updated from "sonar.alm.github.app.privateKey" to "sonar.alm.github.app.privateKey.secured".

      Description

      Suggested names and descriptions:

      • GitHub API URL: The API url for a GitHub instance. https://api.github.com for github.com, https://github.company.com/api/v3 when using GitHub Enterprise
      • GitHub App name: The name of the GitHub App used to decorate pull requests.
      • GitHub App ID: The ID of the GitHub App used to decorate pull requests. You can find the the app ID on the app's settings page at https://<github.com or your-github-enterprise>/settings/apps/<appname>
      • GitHub App private key: The base64 encoded content of a private key file generated for the GitHub App. Generate the encoded string with 'base64 -w0 /path/to/key.pem' on linux, or with 'base64 -i /path/to/key.pem' on MacOS

      Note: The current structure of the code depends on loading these values early, and then assume they don't change. Broad refactoring is needed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julien.lancelot Julien Lancelot
                Reporter:
                janos.gyerik Janos Gyerik
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: