Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-5914

Ability to generate a dynamic list of parameters to select from based on a previous selection

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      Hudson provides for a nice way of selecting values for a build from a pre-populated list of parameter values. It would wonderful if in the case where there are multiple parameters for job, the values of the parameters can be logically tied to each other (especially in the case of the choice parameter). After clicking on build, User should be presented with a default set of values and then as and when the user goes about selecting values, the other fields should dynamically get updated depending on the users selections.

      For example: If the Job has 3 choice parameters:

      Description Param Values
      Type of work WORK Eat, Drink, Sleep
      Menu to eat MENU Soup, Salad, Rice
      Things to Drink BEVS Sprite, Coke, Pepsi
      Where to Sleep SLEEP Upstairs, Basement, Living

      In the above scenario, the GUI that would come up after clicking on "Build", would only show the drop-down options for the Parameter "WORK". then depending on what value gets selected, the next parameter will showup i.e. if "Work" is Eat, a menu will be shown and so forth.

            huybrechts huybrechts
            bsrinath bsrinath
            Votes:
            12 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: