Manual Scan overrides the Project name - Simple solution

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 “”, “
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 !