Re: Searching for plugin that enhances the "Builds for user" page

52 views
Skip to first unread message

Gábor Kereszty

unread,
Mar 7, 2025, 9:55:35 AM3/7/25
to jenkin...@googlegroups.com
Hi,

I'd like to implement a plugin which enhances the "Builds for <user>" page, available at Dashboard > user > Builds.
Now it shows only statuses; link to the job & build number; and Time Since.
But for me it would be great if this table showed the custom parameters and their values for each build I've started (and their downstream builds as well).

Do you know any plugin that does the (similar) job for me, or I have to start from scratch?

Thanks,
Gabesz

Winter, Markus

unread,
Mar 7, 2025, 10:38:40 AM3/7/25
to jenkin...@googlegroups.com

The table you see there is fixed and not extensible. It uses https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/lib/hudson/buildListTable.jelly

This makes use of https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/model/Job/buildTimeTrend_resources.js that loads the data progressively and adds the lines to the table

The data for the table is coming from https://github.com/jenkinsci/jenkins/blob/560e57ffae7f613a419aa53e8151c6c913a2b920/core/src/main/java/hudson/model/User.java#L741

and processed for the progressive Rendering by https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/jenkins/widgets/BuildListTable.java

 

It is the same table you get when clicking on “Build History” of a View or an Agent.

 

So you will need to start from scratch more or less and add a new link for users that will show your table. The question is if you want to use progressive rendering (which means you will need to add the table lines within javascript) or maybe use a pagination approach so you can do things in Jelly.

 

My plugin https://plugins.jenkins.io/pipeline-agent-build-history/ provides an extended build history for agents and an improved version of the build time trend for pipeline jobs both use a pagination approach. You might find there maybe some ideas how to implement this

 

 

From: jenkin...@googlegroups.com <jenkin...@googlegroups.com> On Behalf Of Gábor Kereszty
Sent: Freitag, 7. März 2025 15:11
To: jenkin...@googlegroups.com
Subject: Re: Searching for plugin that enhances the "Builds for user" page

 

You don't often get email from keg...@gmail.com. Learn why this is important

--
You received this message because you are subscribed to the Google Groups "Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/jenkinsci-dev/CADo7DDE5eNzQQwRmYQYew3ZH58XgB1f4FM9vrN_DdA1zgLk2sg%40mail.gmail.com.

Alexander Guico

unread,
Mar 7, 2025, 4:42:57 PM3/7/25
to jenkin...@googlegroups.com

Gábor Kereszty

unread,
Mar 10, 2025, 10:58:44 AM3/10/25
to Jenkins Developers
I see. Thanks Markus!
I don't know when I'll have time to play with it, but thanks for the ideas as well.

Reply all
Reply to author
Forward
0 new messages