We use python-jenkins (https://pypi.python.org/pypi/python-jenkins) to automate our jenkins. it supports management of jobs, builds and views so I think it might be useful for you to take a look at that library. I'm thinking you might be able to use it as a helper to slap together a script that may solve your particular use case.
On Sunday, May 24, 2015 at 3:52:52 PM UTC-7, Shem wrote: > > Hi all, > I've had a dig around but can't find an elegant for what I want to do, so > I hope some of you may be able to offer some suggestions. > > I want to be able to run a parent job with parameters that will feed down > to triggered jobs, and then group all the job run results in a view > dynamically. > > The use case I'm trying to cover is: We have 10+ different jenkins jobs > that run suites of tests, I want to simply manage a run of all those jobs > to run against a specific code branch, on a specific test environment, and > see the results (in one view) for only that run. The complication is the > same Jenkin job may be run against another release or test environment and > I don't want to see those results. > > We already have the parent job triggering children with parameters, but I > can't figure out how best to group the results. > I know I can create filters for views, but the name of jenkins jobs is > static, and I want the view created at runn time, without having to build > it myself. We do use the 'Set Build description' Plugin, so I could create > a view that filters for a unique build descriptor. > Other considerations would be clean up. I wouldn't want a years worth of > views clogging the views, so I need a way to clear out old runs too. > > Any ideas to kick me off? > > Thanks > Shem > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/83796275-01ee-413d-80f5-86a3fa4478d8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.