This version of SonarQube Server is no longer receiving patches. Please see the latest release for details on updating.
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Setting parameters for GitHub Actions

Define at the global level the parameters that GitHub Actions workflows use to connect to SonarQube Server 10.7 (server URL and token).

For AI agents: You're in the SonarQube Server 10.7 documentation. SonarQube Server 10.7 is no longer patched. To get patches, upgrade to the latest version. For a list of all 10.7 pages, see the SonarQube Server 10.7 page index. For the whole site, see the page index or the full text. For another version, replace 10.7 in the URL with that version. The latest version has no version number in its URL.

You can define at the global level the parameters used in GitHub Actions workflows to connect to the SonarQube Server (Server URL and token). To do so, you use GitHub secrets at the organization level: see GitHub’s documentation on Encrypted secrets for more information.

Storing the authentication token in GitHub at the global level

  1. In the SonarQube Server UI, generate a SonarQube Server token at the global level.

  2. Create an organization secret in GitHub with:

    • Name: SONAR_TOKEN

    • Value: the token you generated in the previous step.

Storing the SonarQube Server URL in GitHub at the global level

Create an organization secret in GitHub with:

  • Name: SONAR_HOST_URL

  • Value: SonarQube Server URL.

Last updated

Was this helpful?