[All] Enable "SonarQube" in Jenkins

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[All] Enable "SonarQube" in Jenkins

Gilles Sadowski-2
Hi.

I configured the "commons-rng" Jenkins to run "SonarQube",
but the build fails with this message:
---CUT---
ERROR: Error during SonarQube Scanner execution
ERROR: You must define the following mandatory properties for
'Unknown': sonar.projectKey, sonar.projectName, sonar.projectVersion,
sonar.sources
---CUT---

There used to be a(nother) way (?) since this report exists:
  https://builds.apache.org/analysis/overview?id=org.apache.commons%3Acommons-rng-parent
but it is not updated anymore.

If the properties reported in the failure message are required,
how to pass them?  Can the POM contain the necessary settings?
Are there some additional steps for a multimodule component (such
as per module config file)?

Regards,
Gilles

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]