Link to SonarQube on Jenkins job not available -


on main page of jenkins job, see sonarqube icon, should link, it's text: jenkins job page missing link

i use...

  • jenkins 1.596.2 (also tried 1.609.1)
  • jenkins sonarqube-plugin 2.1 (also tried 2.2.1)
  • maven 3.3.1
  • sonar-maven-plugin:2.6 (when configuring sonarqube post build action)
  • sonar runner 2.4 (when configuring sonarqube analysis build step)

after browsing source code of jenkins sonarqube-plugin, found sonarutils.extractsonarprojecturlfromlogs() seems broken. parses console output regexp "analysis successful, can browse (.*)". console output never prints line. prints "analysis successful".

is known issue?

from can see in logs, running analysis in "preview" mode:

... -dsonar.analysis.mode=preview ... 

as can read on documentation preview mode:

the source code analyzed measures , issues not pushed sonarqube database. therefore, cannot browsed through web interface.

so normal analysis successful message without related sq url (because results not pushed server in preview mode).


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -