Is there a way to display more information in the Jenkins Build Queue widget?

Viewed 232

On the jenkins status page, we have the following widget:

jenkins Build Queue widget

It shows the "master" job pending 5 times (which is reasonable, because each time a code review is pushed to Gerrit, it triggers the job for those changes on that branch.)

If I hover over these "master" links, I can see lots of useful information from the environment, such as GERRIT_CHANGE_NUMBER or GERRIT_EVENT_ACCOUNT_NAME.

Is there some way to get this Build Queue widget to add one of these environment variables to the display item, so I can easily see which change or whose change is pending/building? Or is there some other way to achieve this?

1 Answers

Try to use the Build Name and Description Setter Jenkins plugin:

This plugin sets the display name of a build to something other than #1, #2, #3, ... so that you can use an identifier that makes more sense in your context.

Note: don't forget to check the "Set build name before build starts" option.

Related