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

Active choices parameters not rendering after dsl generation

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: active-choices-plugin
    • Labels:
      None
    • Environment:
      Windows Server 2012 R2 64bit
      JDK8 u112
      Jenkins 2.49
      active choices plugin 1.5.2
      job dsl plugin 1.58
      Jenkins run directly
      no proxy
      no slave nodes
      Chrome browser 56.0.2924.87 (64-bit)
    • Similar Issues:

      Description

      I have just installed active-choices plugin and used it in conjunction with job dsl plugin.

      When I generate job with active choices plugin, fields do not render. Going into configuration and clicking save (without changing anything) fixes problem although it is frustrating bug because it needs to be done after each generation. Screens are attached.

      As you can see I am using  

      • 1 activeChoiceParam (single select)
      • 10¬†activeChoiceReactiveReferenceParam (formatted html)
      • 1¬†activeChoiceReactiveParam (checkbox)

      formatted html looks like this:

      return '<input name="value" value="${parameter}" class="setting-input" type="text" readonly>'

       

      I also found this issue - https://issues.jenkins-ci.org/browse/JENKINS-39760

      maybe it is related somehow.

        Attachments

        1. after generation.jpg
          22 kB
          Piotr Tempes
        2. after save.jpg
          76 kB
          Piotr Tempes
        3. JENKINS-42655-2.1-config.xml
          2 kB
          Bruno P. Kinoshita
        4. JENKINS-42655-2.2-config.xml
          3 kB
          Bruno P. Kinoshita
        5. JENKINS-42655-config.xml
          2 kB
          Bruno P. Kinoshita
        6. JENKINS-42655-diff.png
          365 kB
          Bruno P. Kinoshita

          Issue Links

            Activity

              People

              • Assignee:
                kinow Bruno P. Kinoshita
                Reporter:
                carek Piotr Tempes
              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: