Change by Phong Trinh [21/Sep/23 03:40 PM]
|
Field |
Original Value |
New Value |
Attachment
|
|
dashboard.GIF
[ 10980
]
|
Change by Robin Shen [21/Sep/23 11:28 PM]
|
Issue Type
|
Bug
[ 1
]
|
Improvement
[ 4
]
|
Change by Robin Shen [25/Dec/23 11:31 AM]
|
Status
|
Open
[ 1
]
|
Closed
[ 6
]
|
Resolution
|
|
Fixed
[ 1
]
|
Change by Robin Shen [25/Dec/23 11:32 AM]
|
Resolution
|
Fixed
[ 1
]
|
|
Status
|
Closed
[ 6
]
|
Reopened
[ 4
]
|
Change by Robin Shen [25/Dec/23 11:32 AM]
|
Comment
|
[ The scripted build list gadget can be used for this purpose. For instance, you may use below groovy script to get 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>();
}
]
|
|
Change by Robin Shen [08/Jan/24 11:18 AM]
|
Status
|
Reopened
[ 4
]
|
Closed
[ 6
]
|
Fix Version/s
|
|
14.0.0
[ 12298
]
|
Resolution
|
|
Fixed
[ 1
]
|