sonarqube - Jenkins display sonar results on job screen -


i need display sonar complexity results within jenkins build job screen. i've seen jacoco plungin need similar thing percentages these need displayed within jenkin build.

has done similar this?

you're entering jenkins plugin territory here. check sonarqube docs on breaking ci build how know when analysis report done processing. can use metrics search web service data want display.

then it's time write jenkins plugin. there some docs on topic, i've found useful find plugin similar want accomplish, , pick apart code.

edit

sonarqube 6.2 introduces webhooks, allow configure 10 global, , 10 project-level urls post after analysis report has been processed server-side. post contains json payload includes, among other things

  • report processing status (success/fail)
  • quality gate status
  • user-specified properties (such commit id, perhaps)

Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -