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

Multi Axis name "-" validation

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • matrix-project-plugin
    • None
    • Jenkins 2.19.4 Plugin version: 1.9

      When creating a Multi configuration job, you can create an axis with name including "-", for example:

      axi-name and there is no error validation warning that is invalid.

      Create a "Combination filter" :

      (axi_name.toString().contains('1') || axi_name.toString().contains('2'))

       

      When you try to save it you get:

       

      Besides that, if you use underscore you can solve the problem, for example: axi_name

      And the combination filter: 

      (axi_name.toString().contains('1') || axi_name.toString().contains('2'))

       

            kohsuke Kohsuke Kawaguchi
            danielahcardona Daniel Alejandro Hernández
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: