We added Sonar as GitHub application and started onboarding process.
This onboarding wizard suggests the following example for Gradle:
./gradlew sonarqube \
-Dsonar.projectKey=_my_project_key_ \
-Dsonar.organization=_my_organization_ \
-Dsonar.host.url=https://sonarcloud.io \
-Dsonar.login=_my_token_
But this command fails with:
"Property 'sonar.abap.file.suffixes' is not declared as multi-values/property set but was read using 'getStringArray' method"
.......
Error during parsing of generic test execution report '...build/test-results/jest/TESTS-results-sonar.xml'. Look at the SonarQube documentation to know the expected XML format.
And my project’s status in SonarCloud is “Project is not analyzed yet”.
What I’m missing?
My environment:
Gradle 4.10.2
“org.sonarqube” version “2.7”