Let's perform the following steps to add new plugins to SonarQube from the marketplace:
- Click on the Administration menu and switch to the Marketplace tab:
- On the Marketplace, in addition to code analyzers, you can find alternative authentication methods, language packs, and other useful integrations. As an example, let's search for GitHub authentication:
- Click on the Install button next to the plugin.
- Now, click on Restart Server and log in to the Dashboard after it's been restarted.
- With SonarQube, go to Administration | Configuration | General Settings | GitHub.
- Set Enabled to true:
- Set the client ID and client secret to the values provided by the GitHub developer application. Register a new OAuth application with GitHub by going to https://github.com/settings/applications/new.
- Save the settings and log out from SonarQube:
New, users will be asked to log in with a GitHub user.