-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
The ActiveChoices plugin should be able to remember the parameter value with which it was last run.
This is similar to https://wiki.jenkins-ci.org/display/JENKINS/Persistent+Parameter+Plugin - but of course it's dynamic.
Given: Parameter A can be set to foo and bar and ActiveChoices sets parameter B accordingly to baz and qux.
If I flag parameter A as persistent, and since parameter B depends on parameter A:
- If A was last run with the value bar, then parameter B will be set to qux dynamically.
- However, if parameter B is also persistent, it doesn't behave in a dynamic way and is set to whatever was chosen during the last run, for instance baz.
This could be implemented as a global option for all parameters to make this the default value, or could be under the Advanced... section of each parameter.