Although I'm not aware of any dsl for that parameters, but the below URL might help you to convert UI configuration to pipelines easily:
https://jenkins.io/doc/book/pipeline/getting-started/#snippet-generator 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d11664d2-f0da-4b63-aafb-d7a4be2cc5ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.