This is an automated email from the ASF dual-hosted git repository.

jamesbognar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/juneau.git


The following commit(s) were added to refs/heads/master by this push:
     new 89c2cae114 SonarQube cleanup
89c2cae114 is described below

commit 89c2cae11429d79cd4693564bed6738c9cf78370
Author: James Bognar <[email protected]>
AuthorDate: Mon Feb 2 14:07:15 2026 -0500

    SonarQube cleanup
---
 .github/workflows/sonarcloud.yml | 3 ++-
 .sonarlint/connectedMode.json    | 5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index b95fd15f34..d46301447d 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -49,4 +49,5 @@ jobs:
       - name: Build and analyze
         env:
           SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
-        run: mvn -B verify 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar 
-Dsonar.projectKey=apache_juneau
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR 
information, if any
+        run: mvn -B verify 
org.sonarsource.scanner.maven:sonar-maven-plugin:sonar 
-Dsonar.projectKey=apache_juneau -Dsonar.organization=apache 
-Dsonar.host.url=https://sonarcloud.io -Dsonar.login=$SONAR_TOKEN
diff --git a/.sonarlint/connectedMode.json b/.sonarlint/connectedMode.json
new file mode 100644
index 0000000000..76a32b7486
--- /dev/null
+++ b/.sonarlint/connectedMode.json
@@ -0,0 +1,5 @@
+{
+    "sonarCloudOrganization": "apache",
+    "projectKey": "apache_juneau",
+    "region": "EU"
+}
\ No newline at end of file

Reply via email to