-
Notifications
You must be signed in to change notification settings - Fork 8
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
[FEATURE] Multiple choice #19
Comments
Hi James! First of all, thank you for the feature request! With all that said, I'll investigate how and if this could be realized as soon as I have the time. NOTE: |
This very much seems to tied into how the parameter is used later on, which would complicate any implementation. We have a scenario using a string build parameter where we can enter multiple values, but then we have a groovy step that iterates over them (which then calls a another job with the the specific build parameter). That would not work in other multiple choice scenarios. The Extended Choice Parameter does support multi-select, but the Extensible Choice Parameter does not. That may be a reference point to leverage (disclaimer: I've only used extended). ps: OP's requested behavior also seems to be similar to how JIRA search selector options works, so may be an overall Jenkins implementation limitation. |
I thought about this a bit, the only way a multi select would be usable is if you have a script within your pipeline to iterate over the selected values and act according to what values are in that list then. /reason: I am no front-end developer, I don't really like JavaScript and I am pretty lost without a framework like Angular or Vue in the Web world (PHP would also be a possibility). Finally, I will keep this open and see what I can do to maybe still realize the functionality on my own, but in the mean time give I will add the |
Thanks both, i've used both Extended Choice Parameter and Active Choice plugin and whilst they can be tailored quite extensively they can be overly complicated especially for something as 'simple' as a multiple select. I had a tinker on the weekend with this feature request and got something working in a similar fashion to both previously mentioned plugins where a string is passed through as a csv but i'm not sure how happy I am with it. |
Is your feature request related to a problem? Please describe.
Be able to select multiple choices
Describe the solution you'd like
An checkbox option in the configuration to set the select input as singular or multiple choice
Describe alternatives you've considered
Multiple input parameters all pointing to the same webservice but very impractical
Additional context
None
The text was updated successfully, but these errors were encountered: