Is there any easier way to bulk copy Jenkins jobs? Basically what I want to do is copy all jobs from a particular view to another view and change a couple of parameters to different values.
For example I have a view call Host_1_Test_Jobs. All jobs in this view have a "host" and "plan_id" parameter. I would like to be able to copy all of these jobs to another view and change the two parameters for all of them in one fell swoop.
I can write a Python script to do this by copying the jobs directories and config files, but I was wondering if there is perhaps an easier or more common way to do this.
Or maybe there is a better way to configure these jobs so that I don't have to have create multiple copies (although I would still like separate views for each host's tests results and need to be able to run the jobs in parallel).