I just tried this plugin and it 'almost' does exactly what I need. My use 
case is:
I support a number of developers who use AccuRev SCM. These developers 
create one or more workspaces in which they perform their development. 
Prior to checkin (or promoting in AccuRev parlance), a developer will 
perform a 'KEEP' which is basically just a private promote. What I wish to 
do, is provide a mechanism for any developer to run a job which
- #1. allows the developer to select one of his AccuRev-Workspaces
- #2. create a Jenkins-Wokspace folder and populate the folder from the 
developers AccuRev-workspace
- #3. build the workspace and publish results

I can already do steps #2 and #3 with other jobs running in Jenkins
When I found the 'Groovy Choice Parameter Plug-In', I quickly built it, 
then set to writing a groovy script to generate a list of the wokspaces for 
the currently logged-in user which successfully produces an array of 
strings., but when I tried to put everything together, the Job selection 
box is empty.

I realize that this plugin is not one of the plugins advertised on the 
Jenkins "Manage Plugins -> Available" list which is unfortunate as I think 
that this plugin would be useful to a lot of other people.
If anyone knows anything about this plugin, I would love to hear from you - 
specifically about the format of the data that should be returned from the 
groovy script which runs prior to displaying the combobox/list 
selection. This site information of the maven project only lists one member 
whose name/alias I have seen on this forum, (so I hope you can help). 
 Failing that, I'll just have to teach myself how to debug Jenkins plugins.

FYI: I am currently running Jenkins 1.493 in a SUSE11 environment.

Thanks
Bob

Reply via email to