SonarQube Gradle plug-in: no log output anymore?

1,118 views
Skip to first unread message

Michael Rüegg

unread,
Jun 10, 2016, 4:46:48 AM6/10/16
to SonarQube, Michael Rüegg
Hi,

I analyze my projects with the new SonarQube Gradle plug-in (http://docs.sonarqube.org/display/SCAN/Analyzing+with+SonarQube+Scanner+for+Gradle#AnalyzingwithSonarQubeScannerforGradle-2-Runanalysis).

While the analysis runs successfully, I do not get useful information in the log output anymore. E.g., the old SonarRunner Gradle plug-in ("gradle sonarRunner") used to print the URL where the analysis is available on SonarQube:

build 26-Feb-2016 13:14:15 13:14:15.662 INFO - ANALYSIS SUCCESSFUL, you can browse http://localhost:9000/dashboard/index/org.codehaus.sonar:example-java-gradle:master

The new plug-in doesn’t seam to output this anymore. Note that I use the flag “-Dsonar.verbose=true” when invoking “gradlew sonarqube”, but it doesn’t make any difference.

Am I doing something wrong?

Thanks,
Michael

Julien HENRY

unread,
Jun 13, 2016, 12:39:27 PM6/13/16
to SonarQube, rueegg....@gmail.com
Hi Michael,

We are trying to be a good Gradle plugin citizen :) Like for any other Gradle plugin, if you need more info, just add --info or --debug to your Gradle commandline.

++

Julien

Michael Rüegg

unread,
Jun 14, 2016, 9:04:54 AM6/14/16
to Julien HENRY, SonarQube
Hi Henry,

Perfect, thanks, that did the trick!

Best regards,
Michael
Reply all
Reply to author
Forward
0 new messages