Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Labels:
      None
    • Environment:
    • Similar Issues:

      Description

      This plugin is very useful for multi-select parameters.
      However, when trying to pass the chosen parameters in a multi Configuration Matrix, using "Dynamic Axis plugin", the values must be separated by spaces.

      for example, setting optional values: file1.xml file2.xml,
      and having a default values choices, to get multiple parameters: file1.xml file2.xml.
      will pass a single parameter to the axis as: "file1.xml file2.xml".

      Please allow a space delimiter to be used.

      (by the way, I currently use Extensible Choice Parameter plugin, that can parse a multi-parameter with space delimiter, but your plugin has other advantages I preffer.)

        Attachments

          Activity

          Hide
          juliogonzalez Julio Gonzalez Gil added a comment - - edited

          I know this is an old issue, but it seems it's not fixed yet.

          However there is a workaround if you can use EnvInject Plugin.

          1. Enable 'Prepare an environment for the run'
          2. At 'Evaluated Groovy script' add a groovy script to return a map with the required variables modified so the commas are replaced by spaces.

          For example in my case I have two parameters which I use at the configuration matrix, PG_VERS and DISTROS, and the script is:

          return [PG_VERS: PG_VERS.replaceAll(',',' '), DISTROS: DISTROS.replaceAll(',',' ')]

          Show
          juliogonzalez Julio Gonzalez Gil added a comment - - edited I know this is an old issue, but it seems it's not fixed yet. However there is a workaround if you can use EnvInject Plugin . 1. Enable 'Prepare an environment for the run' 2. At 'Evaluated Groovy script' add a groovy script to return a map with the required variables modified so the commas are replaced by spaces. For example in my case I have two parameters which I use at the configuration matrix, PG_VERS and DISTROS, and the script is: return [PG_VERS: PG_VERS.replaceAll(',',' '), DISTROS: DISTROS.replaceAll(',',' ')]
          Hide
          puetzk Kevin Puetz added a comment -

          newlines don't work either, probably the same cause. Maybe it's related to XML whitespace normalization (which generally trims leading/trailing whitespace, etc) while reading the <multiSelectDelimiter> tag?

          Show
          puetzk Kevin Puetz added a comment - newlines don't work either, probably the same cause. Maybe it's related to XML whitespace normalization (which generally trims leading/trailing whitespace, etc) while reading the <multiSelectDelimiter> tag?

            People

            • Assignee:
              vimil vimil
              Reporter:
              nmanos Noam Manos
            • Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: