Skip to content

SCANJLIB-333 Add support for SonarQube Cloud AU region - #330

Merged
antoine-vinot-sonarsource merged 1 commit into
masterfrom
avi/SCANJLIB-333-add-support-for-sonarqube-cloud-au-region
Nov 6, 2026
Merged

antoine-vinot-sonarsource merged 1 commit into
masterfrom
avi/SCANJLIB-333-add-support-for-sonarqube-cloud-au-region

Conversation

@antoine-vinot-sonarsource

@antoine-vinot-sonarsource antoine-vinot-sonarsource commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

Functional Validation

I tried this build with the scanner-cli, analysis ran fine and I got my project on the AU instance:
scanjlib_au_region


Summary by Gitar

  • Added AU region:
    • Added AU to OfficialSonarQubeCloudInstance with sonarqube.au web and api.sonarqube.au API endpoints
    • Region codes now keep declaration order via LinkedHashSet, so us precedes au
  • Tests:
    • Covered sonar.region=au, sonar.host.url values pointing to sonarqube.au, and a mismatched region/host URL error
    • Added bootstrapper test checking AU hosts and the AU region log message

This will update automatically on new commits.

@antoine-vinot-sonarsource
antoine-vinot-sonarsource requested a review from a team as a code owner November 5, 2026 11:25
@hashicorp-vault-sonar-prod

hashicorp-vault-sonar-prod Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

SCANJLIB-333

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me overall. I left a couple of questions but we could merge as-is

@antoine-vinot-sonarsource
antoine-vinot-sonarsource force-pushed the avi/SCANJLIB-333-add-support-for-sonarqube-cloud-au-region branch from 3688cb5 to 8dcd554 Compare November 6, 2026 13:14
@gitar-bot

gitar-bot Bot commented Nov 6, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Adding AU endpoint resolution routes scans to a new SonarQube Cloud region; incorrect region or host selection could send analysis traffic to the wrong instance.

Adds AU region support for SonarQube Cloud by registering AU in OfficialSonarQubeCloudInstance with sonarqube.au and api.sonarqube.au endpoints, and keeping region codes in declaration order via LinkedHashSet. Tests cover sonar.region=au, host URL matching, mismatched region/host errors, and bootstrapper AU hosts. No issues found.

Verification Rules 2/2 met Repos 11 inspected · PRs 2 inspected

Functional validation No results

Rules 2 passed 1 not applicable

✅ Internal artifact registries
✅ Repository license compliance

Broader impact Repos 11 inspected PRs 2 inspected
Cross-repo 11 repositories inspected 0 open impacts

SonarSource/sonar-scanner-cli Inspected
SonarSource/sonar-scanner-maven Inspected
SonarSource/sonar-scanner-gradle Inspected
SonarSource/sonar-scanner-python Inspected
SonarSource/sonar-scanner-npm Inspected

6 more repositories

Cross-PR 2 PRs inspected 0 open impacts

PR 3533: SCAN4NET-1814 Support AU region Inspected
PR 367: SC-60373 Let the scanners resolve the SonarQube Cloud URL from the region Inspected

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Gitar

@sonarqube-next

sonarqube-next Bot commented Nov 6, 2026

Copy link
Copy Markdown

@antoine-vinot-sonarsource
antoine-vinot-sonarsource merged commit 975dbff into master Nov 6, 2026
11 checks passed
@antoine-vinot-sonarsource
antoine-vinot-sonarsource deleted the avi/SCANJLIB-333-add-support-for-sonarqube-cloud-au-region branch November 6, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants