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

How Can I access multiple HTML text box values separately using Active Choice Reactive Reference Parameter

    Details

    • Similar Issues:

      Description

      How Can I access multiple HTML text box values separately using the Active Choice Reactive Reference Parameter?
      For e.g.
      If I click on Frontend_Sprint_Branch_And_Master_Merge, two text box gets opened as HTML.
      Now if I want these two values separately in variables how can I do that 
      I do not want this value as a single value stored in frontend_merge.

      I want both this values ffchef_backend and ffchef_frontend separately.
      I found one similar ticket but didn't find any reply.https://issues.jenkins-ci.org/browse/JENKINS-54887

        Attachments

          Activity

          Hide
          ioannis Ioannis Moutsatsos added a comment -

          If you must have multiple parameters into a single Jenkins parameter 'Frontend_Merge' you can have an AC REF parameter that returns a json structure and then parse it in your build.

          So the 'Frontend_Merge' would return a value something like:

          {
          "ffchef_backend":[
          "branch1",
          "branch2"
          ],
          "ffchef_frontend":[
          "branch3",
          "branch4"
          ]
          }
          

          Nonetheless, I would still recommend having a separate AC Ref for 'ffchef_backend' and another for ffchef_frontend'

          Show
          ioannis Ioannis Moutsatsos added a comment - If you must have multiple parameters into a single Jenkins parameter 'Frontend_Merge' you can have an AC REF parameter that returns a json structure and then parse it in your build. So the 'Frontend_Merge' would return a value something like: { "ffchef_backend" :[ "branch1" , "branch2" ], "ffchef_frontend" :[ "branch3" , "branch4" ] } Nonetheless, I would still recommend having a separate AC Ref for 'ffchef_backend' and another for ffchef_frontend'
          Hide
          ioannis Ioannis Moutsatsos added a comment -

          Question answered

          Show
          ioannis Ioannis Moutsatsos added a comment - Question answered

            People

            • Assignee:
              kinow Bruno P. Kinoshita
              Reporter:
              prakash_jha prakash jha
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: