-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please add the ability to multi-select #23
Comments
Hi @imoutsatsos! I think this is already implemented (though I'm not sure if it's released). I added a dynamic choice parameter, which the choice type is multiselect. Then setting the script to something like java.util.Arrays.asList('A', 'B', 'C') brings me a multiselect combobox. Using CTRL and picking more than 1 row seems to work fine. |
Hi @kinow thanks for taking a look at this. You are correct in that the mutli-select option has not been released and can only be found in several of the pull requests for this plugin. I have spend many hours (days?) trying to get any of the snapshots to work with my Jenkins LTS v1.532.1 wihout success. When using any snapshot (other than #12 which partially implemented the cascading parameter option) I always get the following error (see screenshot below) Using you script example the stack trace goes something like this
|
Weird, let me check with 1.532.2. I used the version from the master branch, running with |
Issue confirmed! I'll investigate what's the root cause Ioannis :) nice catch, didn't occur when I used the 1.477 version |
Hi again @imoutsatsos. I tried updating the source code to 1.532.2 and 1.555 without success. Some tests simply fail. Thus I'm not able to create an HPI file to debug it in the LTS version. Seems like a good opportunity to fork it to uno-choice. WDYT? |
uno-choice it is! It's too bad that some of these promising plugins fall by the wayside. Hopefully some of the existing code will still be instructive... |
The ability to multi-select parameters is critical for most non-trivial applications of a choice list. In my work I use Jenkins to submit statistical R scripts for execution and I need to be able to submit more than one choices to correctly parameterize the R script. THANK YOU this a great plugin and I'm closely following its evolution.
The text was updated successfully, but these errors were encountered: