-
New Feature
-
Resolution: Unresolved
-
Minor
-
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
Component/s | New: matrix-project [ 18765 ] | |
Component/s | Original: matrix [ 15501 ] |
Workflow | Original: JNJira [ 135286 ] | New: JNJira + In-Review [ 174283 ] |
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!