This is a very simple-hackishly written chrome extension which lets you specify a job name and certain criteria and return a list of jobs which match your criteria.
- Error handling
- Nice(r) UI
- Limits
- Date range
To install locally:
- Clone/fork the repo
- go to
chrome://extensions
- Click
Devleoper Mode
- Click load unpacked extensions
- Navigate to your clone/form and click confirm
- It Should now appear in your extensions bar!
If you have made code changes locally after doing the above:
- got to
chrome://extensions
- Locate this extension in the list and click
reload
or refresh the page
Simply open the extension when on one of your jenkins webpages. If this page is a job page it will prepopulate the job name for you but you can change this to any jenkins job on the same domain.
Once you have specified the job name, you need some criteria to match it against...
The critera is a comma seperated string of the following format
PARAM=VALUE=regex|exact,PARAM=VALUE=regex|exact,PARAM=VALUE=regex|exact,...
Where
PARAM
is the name job paramater you will be matching against (case sensitive)VALUE
is the value of thePARAM
you will be matching againstregex|exact
is the type of match to perform... (optional)- a
regex
match will perform a regex match usingVALUE
as the regex - an
exact
match will perform a case senstive match usingVALUE
's case for the matching - This is optional, if this is left off (dont include the second
=
if you leave this off) or something other thanregex
orexact
is supplied it will default to a case insensitive string match.
- a
NOTE : If you specify X
number of criteria, the returned jobs will only be returned if all the criteia matches.
If I wanted to find every instance of example.job
that ran using the parameters ENV: Test
, USER: Tester
and COLOR: Green
I could do the following:
Jobname: example.job
Params: ENV=Test=exact,USER=Tester=exact,COLOR=Green=exact
or if The case doesn't matter...
Jobname: example.job
Params: ENV=Test,USER=Tester,COLOR=Green
or if You're not sure on the exact value of COLOR
Jobname: example.job
Params: ENV=Test=exact,USER=Tester=exact,COLOR=.*=regex