title: Using groovy script in active choices reactive parameter
body: <p>I'm using jenkins 2.x and I'm trying to run a groovy script into active choices reactive parameter. but only the fallback script is running.</p>
  
  <h2>Groovy script:</h2>
  
  <pre><code> def myUrl ="https://vfoms-seu.trivadis.com/nexus/repository/nexus_repos/com/trivadis/oms/OutputManagement/maven-metadata.xml"
  def data = new URL(myUrl)
  def content = data.getText()
  
  def dataObj = new XmlParser().parseText(content )
  def versionsNr
  for (v in dataObj.versioning[0].versions[0].version){
    versionsNr.add(v.text())
  }
  return [versionsNr]
  </code></pre>
  
  <h2>Fallback script:</h2>
  
  <pre><code>return["Error"]
  </code></pre>
  
  <p>Choices type single select </p>
  
  <p>can you help me to fine out my issue?!</p>