So, after figuring out how to build and debug Jenkins, I discovered the 
answer I was looking for.

The groovy script has to return an array of strings in the groovy 'choice' 
variable:

       def mydata = ['string 1', 'string 2', 'string 3', 'string 
4', 'string 5' ]
       choice = mydata

It is as simple as that. Now I have my list of strings in the listbox so 
developers can choose their 'AccuRev-Workspace' and perform a preflight 
build on it.

Bob

Reply via email to