|
|
|
This is great.
But it would be better if there was an additional "My Build Count" variable in My setting. It will specify the number of buildings displayed on Gadget and Panel. Needs more 2 buttons (Collapse | More) to show more and collapse. This can be achieved with scripted build list gadget. For instance, below script can be used to list latest 10 builds triggered by current user.
groovy: import com.pmease.quickbuild.Context; import com.pmease.quickbuild.model.Build; import com.pmease.quickbuild.SearchCriteria; import org.hibernate.criterion.Restrictions; import org.hibernate.criterion.Criterion; import org.hibernate.criterion.Order; if (Context.getUser() != null) { Criterion[] criterions = [Restrictions.eq("requester", Context.getUser())]; Order[] orders = [Order.desc("beginDate")]; def criteria = new SearchCriteria(criterions, orders); return system.buildManager.search(criteria, 0, 10); } else { return new ArrayList<Build>(); } Hello Mr.Robin Shen,
This solution only apply for: 1. Display a list of my latest builds in dashboard (a gadget?) In a specific configuration, there are no gadget to display my builds in that configuration In 2nd request, we want a list like Summary list Please help us check this. Thank you so much. Yes this is a gadget. Displaying my latest builds in configuration page will make the page too crowded.
I think it is fine when the panel display 5 builds.
User can expand/collapse the panel to show more/less builds, or history button can show the build list of current user in current configuration I filed an improvement request to show my builds from history builds menu of configuration overview page:
https://track.pmease.com/browse/QB-4061 Please watch it to get notified. |
What do you think about this feature?