Active Choices Reactive Reference Parameter of type Formatted Hidden HTML is not hidden when defined in pipeline

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I am using Pipeline script from SCM and define everything within including Parameters:

      properties([
        parameters([
          ...,
          [
            $class: 'DynamicReferenceParameter',
            choiceType: 'ET_FORMATTED_HIDDEN_HTML',
            name: 'Test',
            omitValueField: true,
            script: [
                $class: 'GroovyScript',
                script: [
                    classpath: [],
                    sandbox: true,
                    script: """
                        return '''whatever
                        '''
                    """
                ]
            ]
          ]
        ])
      ])
      
      pipeline {
      ...
      }

      If I run the pipeline the parameter is shown but then I save it in the config page it no longer shows up. I tried to look at config.xml in the jobs folder to see any difference but nothing.

            Assignee:
            Bruno P. Kinoshita
            Reporter:
            David
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: