Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins: Filter build history by label or parameter

Is it possible to filter the build history in Jenkins so that only builds with a specific label or parameter show up?

Let's say I have some job that is parametrized. One of the parameters is a simple string which can either be "experimental" or "official". Is there any plugin which lets me filter the build history to only show the "official" builds?

like image 360
dudenr33 Avatar asked Apr 21 '15 09:04

dudenr33


People also ask

What is label parameter in Jenkins?

Define a parameter for the node(s) that will run the job. Define a label of 'Restrict where this project can be run'.

What is the use of labels in Jenkins?

When creating a new slave node, Jenkins allows us to tag a slave node with a label. Labels represent a way of naming one or more slaves. We leverage this labeling system to tie the execution of a job directly to one or more slave nodes.


1 Answers

You can do it via this plugin https://wiki.jenkins-ci.org/display/JENKINS/View+Job+Filters

The needed section for reading is "Filter by Job Parameterization"

like image 157
Stan E Avatar answered Sep 30 '22 20:09

Stan E