Javascript to enhance parameterized builds

Viewed 2460

The 'parameterized' builds in Jenkins are a bit limited. What if I want to have options that are related to one another?

For example 2 drop down lists. The selection from the first one controls the options in the second...

I don't really see any prescribed way to implement this, but a thought (and it feels super-hacky) would be to use javascript.

I've noticed you can enter <script> tags in the description attribute of parameters. Maybe a place to drop in some js? Also looks like prototype.js ships with the system.

So just how bad an idea is that, or is there a 'correct' way to do such a thing?

2 Answers
Related