Details
-
Type:
Improvement
-
Status: Resolved (View Workflow)
-
Priority:
Major
-
Resolution: Fixed
-
Component/s: jobgenerator-plugin
-
Labels:None
-
Similar Issues:
Description
It would be nice if the file parameter factory feature from the parameterized/triggered build plugin could be used with the job generator. Currently, the files are iterated over and the parameters are read in as hudson.model.StringParameterValue which cannot be cast to an org.jenkinsci.plugins.jobgenerator.parameters.GeneratorKeyValueParameterValue. A ClassCastException is thrown. This feature would be very useful to allow for a job which runs a batch of job generator jobs.
Played around with the source code and got what I needed working. Would this use case have any adverse effects I'm not thinking of?