Manual Scan overrides the Project name - Simple solution

https://sonarcloud.io/dashboard?id=bcgov_ppr

My project should be called: “PPR” but after running my manual Gradle scan from my jenkins pipeline (Gradle residing in the sonar-runner directory) my project is suddenly called sonar-runner.

sonarqube {
properties {
property “sonar.projectKey”, “bcgov_ppr”
property “sonar.organization”, “bcgov-sonarcloud”
property “sonar.host.url”, “https://sonarcloud.io
property “sonar.login”, “{my key}”
}

It turns out that I simply have to provide: sonar.projectName and all is good again.

Thanks for this tip @rstens !