Hello All,
I'm having trouble trying to add 3 "Invoke Maven top level targets" build steps (it / builders / hudson.tasks.Maven / mavenName ) etc… to dsl generated freestyle jobs.
Since I am using freestyle templates (needed for other reasons) I believe the only dsl builtin method at my disposal is maven(goals,pom).
This is obviously limited to two input params only.
We have about 5 maven installs on our build machine and I need to ability to create jobs that have multiple build steps with at a minimum different goals, but also differing mavenName version, properties file and jvm options which all can be defined in the job configuration in UI but not job-dsl using maven(goals,pom).
I have tried doing this using the xml, but seems to be limited to adding one entry build steps only for each mavenName version. I.E. "Invoke Maven 3" and "Invoke Maven top level targets"
So with jb-dsl builtin, I can create many of the same build steps, with only two configurable options. And with the xml I can set all the available build step options, But can only set one build step.
Is there a solution I am not finding or understanding?
thank you,
paul