5

The current list of Jenkins jobs has 4 columns:

  • Name
  • Last Success
  • Last Failure
  • Last Duration

Is there any way to add a new column which would have some custom value extracted from the job?

1
  • 1
    Sounds more on topic for SO (fully programming Q as far as I can tell)
    – Tensibai
    Commented Mar 1, 2017 at 10:51

1 Answer 1

4

From what I can tell you can definitely customize the columns for a custom view (I can't find where to change it for the "All" view, but it's probably possible). Unfortunately it doesn't look trivial to add a custom column without writing a plugin, for example the jacoco plugin:

https://github.com/jenkinsci/jacoco-plugin/blob/master/src/main/java/hudson/plugins/jacococoveragecolumn/JaCoCoColumn.java

Jenkins Java Doc:

http://javadoc.jenkins.io/hudson/views/ListViewColumn.html

Edit: This plugin might get you closer to what you're looking for:

https://wiki.jenkins-ci.org/display/JENKINS/Extra+Columns+Plugin

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.