Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32922

Persistent parameter values from earlier builds

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • active-choices-plugin
    • 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.

            kinow Bruno P. Kinoshita
            cristalp cristalp
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: