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

Active choices parameters not rendering after dsl generation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • active-choices-plugin
    • None
    • 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)

      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.

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

            kinow Bruno P. Kinoshita
            carek Piotr Tempes
            Votes:
            5 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated: