ikedam commented on Task JENKINS-18295

You should return an array of strings like this:

return [ "choice1", "choice2", "choice3" ]

I did not test, but what you want can be done like this:

def list = 'lsbl -stream <Strem>@/vob/<pvob> -short'.execute().text
def ret = []
list.eachLine{ ret.add(it) }
return ret
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to