View that polls latest builds from a project

9 views
Skip to first unread message

Jacqueline Taing

unread,
Oct 1, 2015, 2:00:59 PM10/1/15
to Jenkins Developers
I need some guidance...

I am trying to implement a dashboard by extending the Dashboard View plugin (which extends ListView).  My dashboard needs to display status of latest builds for specific projects.  Currently, the builds that get shown on the dashboard seem to be set at dashboard create time since the portlets that are defining the content are created on submit of Edit View.  It never seems to change after that.  Is there a way to poll the projects for newer builds and update my dashboard/dashboard portlets with data from those builds?

Thanks!
-jacqui

Oleg Nenashev

unread,
Oct 4, 2015, 5:36:29 AM10/4/15
to Jenkins Developers
Hi,

Probably there is an issue with Automatic refresh of the page. If you use classic ListView for the visualization, the API should perform the data retrieval on any new access to the page. Probably you persist the data somehow.

It would be better if you share the code. Then somebody will be able to review it and to suggest a solution.

Best regards,
Oleg Nenashev



четверг, 1 октября 2015 г., 21:00:59 UTC+3 пользователь Jacqueline Taing написал:
Reply all
Reply to author
Forward
0 new messages