Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add column "last run date/time" to views

Jenkins by default has three columns about the last build:

  • Last Success
  • Last Failure
  • Last Duration

Views can be sorted by those columns and that's great and all, but it doesn't allow me to sort in a way that I can easily see what order projects were recently built in. What I'm looking for is a way to have an extra column:

  • Last "Run" (or some equivalent term)

Preferably the column would even be a timestamp/datetime as opposed to a timespan, but that'd be bonus.

What I've tried so far:

  • Go through the "Configure System" settings;
  • Search the plugins (found ZenTimestamp and ExtraColumns, but they don't fit the bill);
  • Use some Google-fu;

Is this just not possible?

like image 328
Jeroen Avatar asked Dec 27 '13 09:12

Jeroen


1 Answers

My Google-fu has conjured some results. This isn't possible in default Jenkins. There is an issue in Jenkin's issue tracker, JENKINS-7844:

A Filter to sort jobs by last run time.
There are sort options for:
S W Job Last Success Last Failure ↓ Last Duration

Please add one for Last Ran.

Useful for seeing what has run in the last couple of hours/days (especially when there is a major build failure).

The issue was created October 2010, and was closed October 31st 2014 with "Status: Resolved" and this comment:

Compact Columns solves this issue

So: check out the Compact Columns plugin.

like image 62
Jeroen Avatar answered Oct 28 '22 15:10

Jeroen