Active Choice not working with Scriptler

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

XMLWordPrintable

      When we have a job with an Active Choices Parameter that uses a scriptler script and we go to "Build with Parameter", the parameter does not populate with anything.

      Jenkins log produces "o.b.u.AbstractScriptableParameter#eval: Error executing script for dynamic parameter java.lang.NullPointerException". Traceback is in the attachment, jenkins.log.

      Running the script manually from scriptler returns the correct value.

      We downgrade to 2.5.7 as a workaround.

        1. jenkins.log
          18 kB
        2. Jenkinsfile
          0.9 kB

            Assignee:
            Ioannis Moutsatsos
            Reporter:
            gary
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: