This is a dashing widget intended to show metrics from a sonar repository.
This widget currently uses the list widget as a view. You just have to add this snippet to your dashboard:
<li data-row="1", data-col="1" data-sizex="1" data-sizey="1">
<div data-id="id" data-view="List" data-title="myT" data-unordered="true" data-moreinfo="Sonar"</div>
</li>
And copy sonar.rb
in your job folder.
You may have to change the data-sizey
value if you want to display more metrics.
Nothing to do!!
The last revision (&format=json
in the uri) has been made by @meadhikari.
Reach him for any stuff concerning this.
FYI, if you run a Sonar instance that is secured, i.e. requires authentication for the API calls, then you can use the Widget at https://gist.github.com/aaronkaka/8491321