<< Back to previous view |
![]() |
[QB-3968] Make a list of recent builds for each user
|
|
Status: | Closed |
Project: | QuickBuild |
Component/s: | None |
Affects Version/s: | 10.0.42 |
Fix Version/s: | None |
Type: | New Feature | Priority: | Major |
Reporter: | Nguyen Danh Hung | Assigned To: | Robin Shen |
Resolution: | Won't Fix | Votes: | 2 |
Remaining Estimate: | Unknown | Time Spent: | Unknown |
Original Estimate: | Unknown |
Description |
We need Quickbuild to deploy a feature that can:
1. Display a list of my latest builds in dashboard (a gadget?) 2. In the configuration overview, 1 panel show some my latest builds like Summary/Recent Builds panel Could you please help us with this? |
Comments |
Comment by Nguyen Danh Hung [ 26/May/23 03:23 AM ] |
Hello Mr. Robin Shen,
What do you think about this feature? |
Comment by Robin Shen [ 26/May/23 03:25 AM ] |
Will make it into next major release. |
Comment by Nguyen Duc Long [ 13/Jun/23 09:22 AM ] |
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. |
Comment by Robin Shen [ 25/Dec/23 11:34 AM ] |
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>(); } |
Comment by Nguyen Danh Hung [ 03/Jan/24 08:03 AM ] |
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. |
Comment by Robin Shen [ 03/Jan/24 01:04 PM ] |
Yes this is a gadget. Displaying my latest builds in configuration page will make the page too crowded. |
Comment by Nguyen Danh Hung [ 04/Jan/24 03:52 AM ] |
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 |
Comment by Robin Shen [ 04/Jan/24 01:17 PM ] |
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. |
Comment by Nguyen Danh Hung [ 05/Jan/24 02:53 AM ] |
Ok, I got it
Thank you |