• Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • matrix-project-plugin
    • None

      It would be nice to be able to specify empty values for a matrix axis. For example, I use a matrix job for a C++ project and set different build options (debug, profile, etc) as values of an axis. The default build has no special options.

      I can trick Hudson into accepting the empty string by enclosing it in quotes, but this will be lost the next time I edit and save the configuration (the quotes are not preserved). It also doesn't seem to work with touchstone builds. I want to do the normal build (without any options) first and only if it succeeds kick off all the other combinations.

          [JENKINS-5197] Allow empty values for matrix axis

          We can't even use the quotes trick, as the plugin will complain and prevent the save saying: "Axis name can not be empty". Right now this forces us to edit the job XML directly, which works (we could probably use some other trickery by taking a substring of the axis name, but that's a hack as well). Having support for this, even using quotes would be really great!

          Ohad Schneider added a comment - We can't even use the quotes trick, as the plugin will complain and prevent the save saying: "Axis name can not be empty". Right now this forces us to edit the job XML directly, which works (we could probably use some other trickery by taking a substring of the axis name, but that's a hack as well). Having support for this, even using quotes would be really great!

          Pablo Retyk added a comment -

          This actually worked in previous versions (the quoted trick), and we had some jobs with an empty value on an Axis, after certain version it stopped working and we couldn't make any changes in that jobs without editing the config.xml directly

          Pablo Retyk added a comment - This actually worked in previous versions (the quoted trick), and we had some jobs with an empty value on an Axis, after certain version it stopped working and we couldn't make any changes in that jobs without editing the config.xml directly

            Unassigned Unassigned
            larsko larsko
            Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: