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

Active Choice Reactive Reference parameter value rendered as File Selector not cascaded

      When an Active Choice reactive reference is rendered as a Jenkins File Chooser, the name of the selected file is not cascaded to other active choices that reference it.

          [JENKINS-38893] Active Choice Reactive Reference parameter value rendered as File Selector not cascaded

          Ioannis Moutsatsos created issue -
          Bruno P. Kinoshita made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Ioannis Moutsatsos made changes -
          Attachment New: config[1].xml [ 38753 ]
          Bruno P. Kinoshita made changes -
          Attachment New: Screenshot_2017-07-06_22-42-10.png [ 38766 ]
          Attachment New: Screenshot_2017-07-06_22-42-25.png [ 38767 ]
          Attachment New: Screenshot_2017-07-06_22-42-47.png [ 38768 ]
          Ioannis Moutsatsos made changes -
          Priority Original: Minor [ 4 ] New: Major [ 3 ]
          Bruno P. Kinoshita made changes -
          Attachment New: screenshot-1.png [ 46970 ]
          Angelo Loria made changes -
          Comment [ [~dozinbatty] did you find a resolution for your issue? I'm facing the same thing in a pipeline:

           
          {code:java}
                                [
                                  $class: 'DynamicReferenceParameter',
                                  choiceType: 'ET_FORMATTED_HTML',
                                  description: '',
                                  name: fileParam,
                                  omitValueField: false,
                                  referencedParameters: actionParam,
                                  script: [
                                     $class: 'GroovyScript',
                                     fallbackScript: [
                                        classpath: [],
                                        sandbox: false,
                                        script: ''
                                     ],
                                     script: [
                                        classpath: [],
                                        sandbox: false,
                                        script: 'if(Action == \'ExecuteScript\') { return \'\'\'<input name="value" type="file" jsonaware="true">\'\'\'}'
                                     ]
                                  ]
                               ]





          {code}
            ]

            kinow Bruno P. Kinoshita
            ioannis Ioannis Moutsatsos
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: