we have a need to have more then one parameter on a singe line for parameterized jobs. Please see attachment

          [JENKINS-31849] Horizontal parameters

          Hi Leslie,

          With Jenkins 2.0 being released soon (I believe this year), this issue might be given a lower priority as it could break with the next release, if we implemented a CSS/style change.

          However, Ioannis created an example for another issue that contains horizontal parameters. I've created a simple job and took a few screen shots. The parameters are HTML reference parameters. The script used for one of them is the following.

          html='''
          PRODUCT_01
          <input type="hidden">
          <select  name="value" >
          <option value="product_sms">SMS</option>
          <option value="product_email">email</option>
          </select>
          PRODUCT_02
          <select  name="value" >
          <option value="product_sms">SMS</option>
          <option value="product_email">email</option>
          </select>
          PRODUCT_03
          <select  name="value">
          <option value="product_sms">SMS</option>
          <option value="product_email">email</option>
          </select>
          '''
          return html
          

          The other parameter has a very similar script. Could you take a look at the screen shots and at these scripts and see if that would work for you, please?

          B

          Bruno P. Kinoshita added a comment - Hi Leslie, With Jenkins 2.0 being released soon (I believe this year), this issue might be given a lower priority as it could break with the next release, if we implemented a CSS/style change. However, Ioannis created an example for another issue that contains horizontal parameters. I've created a simple job and took a few screen shots. The parameters are HTML reference parameters. The script used for one of them is the following. html=''' PRODUCT_01 <input type= "hidden" > <select name= "value" > <option value= "product_sms" >SMS</option> <option value= "product_email" >email</option> </select> PRODUCT_02 <select name= "value" > <option value= "product_sms" >SMS</option> <option value= "product_email" >email</option> </select> PRODUCT_03 <select name= "value" > <option value= "product_sms" >SMS</option> <option value= "product_email" >email</option> </select> ''' return html The other parameter has a very similar script. Could you take a look at the screen shots and at these scripts and see if that would work for you, please? B

          Oh, you also have to show the advanced settings of the parameter, and choose to omit the value attribute

          Bruno P. Kinoshita added a comment - Oh, you also have to show the advanced settings of the parameter, and choose to omit the value attribute

          ikey sent me an e-mail to let me know that the workaround did the trick for him. Closing as won't fix.

          Bruno P. Kinoshita added a comment - ikey sent me an e-mail to let me know that the workaround did the trick for him. Closing as won't fix.

          ANSHUK ROY added a comment -

          How do you reference or obtain the values selected  for Product_01 , Product_02, Product_03 later ?

          ANSHUK ROY added a comment - How do you reference or obtain the values selected  for Product_01 , Product_02, Product_03 later ?

            kinow Bruno P. Kinoshita
            ikey Leslie Klein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: