You can use the autogenerated dsl syntax if you are above 1.46 - https://github.com/jenkinsci/job-dsl-plugin/wiki/Automatically-Generated-DSL
You can simplify a bit the configure closure with a more descriptive DSL Cheers -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/b27b9c3e-ce0f-448b-8d72-b7965769c8f4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
