-
Notifications
You must be signed in to change notification settings - Fork 99
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
added functionality to store all multi-level multi selected values #10
base: main
Are you sure you want to change the base?
Conversation
Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests |
import hudson.model.StringParameterValue; | ||
|
||
public class ExtendedChoiceParameterValue extends StringParameterValue{ | ||
private static final long serialVersionUID = 7993744779892775177L; | ||
private Map<Integer, String> allCols; | ||
private Map<Integer, List<String>> allColsList; | ||
private int multiLevelColumns; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Such implementation won't work with Rebuild Plugin. I recommend to integrate an RebuildParameterProvider
extension into the plugin.
152e781
to
5e17cfa
Compare
…atibility 1. added rebuild dependency to pom 2. created ExtendedChoiceRebuildParameterProvider class (extends RebuildParameterProvider) 3. ExtendedChoiceParameterValue - get/set methods
5e17cfa
to
899c477
Compare
…k out rebuild integration
I've added Selenium/TestNG Unit Tests in a new branch. It configures a job, runs the build and verifies the output from the Extended Choice Multi-Level Parameter (similar to examples above). You just need to change |
Added JUnit tests for |
Any update on this? |
Ping @vimil |
I would really love this feature, because the workaround ist to make one parameter for every level but then you do not have validation that the selections fit together. I would like to use it in a CI job, I have a properties file like this:
but only version variable gets populated. Maybe anyone wants to finish this feature!? Or is there an alternative? Kind regards |
PR Reference: Store values from multi-level multi select list #9