It seems that if the values of an axis in a matrix project contains a comma, jenkins starts failing to execute the job.

      I have only one axis

      {mvnProfile}

      that contains the values:
      postgresql,build-flex
      mysql,build-flex
      oracle,build-flex

      the command of my maven project is : mvn clean install -P ${mvnProfile}

      It works fine when there is only one profile but fails silently with a list separated with comma. I don't have logs to attach as it just says: Job xxxx return with FAILURE). Also note that I have a 404 when I click to view the 'sub job' execution details.

      I have tried to quote, escape, urlencode the comma but it does not solve the issue.

      My understanding of the bug is that the comma is also the separator of axis in jenkins. When we have multiple axis, in the URL, we can see they are comma separated: /myjob/.../axis1=value,axis2=value

      I suspect jenkins is interpreting the comma in my parameter value as an axis separator and starts failing.

      To be continued...
      M.

          [JENKINS-16055] Matrix project with comma in values

          Mathieu POUSSE created issue -
          Mathieu POUSSE made changes -
          Description Original: It seems that if the values of an axis in a matrix project contains a comma, jenkins starts failing to execute the job.

          I have only one axis {mvnProfile} that contains the values:
          postgresql,build-flex
          mysql,build-flex
          oracle,build-flex

          the command of my maven project is : mvn clean install -P ${mvnProfile}

          It works fine when there is only one profile but fails silently with a list separated with comma (I don't have logs to attach as it just says: Job xxxx return with FAILURE).


          My understanding of the bug is that the comma is also the separator of axis in jenkins. When we have multiple axis, in the URL, we can see they are comma separated: /myjob/.../axis1=value,axis2=value

          I suspect jenkins is interpreting the comma in my parameter value as an axis separator and starts failing.

          To be continued...
          M.
          New: It seems that if the values of an axis in a matrix project contains a comma, jenkins starts failing to execute the job.

          I have only one axis {mvnProfile} that contains the values:
          postgresql,build-flex
          mysql,build-flex
          oracle,build-flex

          the command of my maven project is : mvn clean install -P ${mvnProfile}

          It works fine when there is only one profile but fails silently with a list separated with comma. I don't have logs to attach as it just says: Job xxxx return with FAILURE). Also note that I have a 404 when I click to view the 'sub job' execution details.

          ---

          My understanding of the bug is that the comma is also the separator of axis in jenkins. When we have multiple axis, in the URL, we can see they are comma separated: /myjob/.../axis1=value,axis2=value

          I suspect jenkins is interpreting the comma in my parameter value as an axis separator and starts failing.

          To be continued...
          M.
          Mathieu POUSSE made changes -
          Description Original: It seems that if the values of an axis in a matrix project contains a comma, jenkins starts failing to execute the job.

          I have only one axis {mvnProfile} that contains the values:
          postgresql,build-flex
          mysql,build-flex
          oracle,build-flex

          the command of my maven project is : mvn clean install -P ${mvnProfile}

          It works fine when there is only one profile but fails silently with a list separated with comma. I don't have logs to attach as it just says: Job xxxx return with FAILURE). Also note that I have a 404 when I click to view the 'sub job' execution details.

          ---

          My understanding of the bug is that the comma is also the separator of axis in jenkins. When we have multiple axis, in the URL, we can see they are comma separated: /myjob/.../axis1=value,axis2=value

          I suspect jenkins is interpreting the comma in my parameter value as an axis separator and starts failing.

          To be continued...
          M.
          New: It seems that if the values of an axis in a matrix project contains a comma, jenkins starts failing to execute the job.

          I have only one axis {mvnProfile} that contains the values:
          postgresql,build-flex
          mysql,build-flex
          oracle,build-flex

          the command of my maven project is : mvn clean install -P ${mvnProfile}

          It works fine when there is only one profile but fails silently with a list separated with comma. I don't have logs to attach as it just says: Job xxxx return with FAILURE). Also note that I have a 404 when I click to view the 'sub job' execution details.

          I have tried to quote, escape, urlencode the comma but it does not solve the issue.
          ---

          My understanding of the bug is that the comma is also the separator of axis in jenkins. When we have multiple axis, in the URL, we can see they are comma separated: /myjob/.../axis1=value,axis2=value

          I suspect jenkins is interpreting the comma in my parameter value as an axis separator and starts failing.

          To be continued...
          M.

          Daniel Beck added a comment -

          Matrix project type was detached from core in 1.561, so reassigning component.

          Daniel Beck added a comment - Matrix project type was detached from core in 1.561, so reassigning component.
          Daniel Beck made changes -
          Component/s New: matrix-project [ 18765 ]
          Component/s Original: core [ 15593 ]
          Component/s Original: matrix [ 15501 ]

          Daniel Beck added a comment -

          Duplicates JENKINS-12439

          Daniel Beck added a comment - Duplicates JENKINS-12439
          Daniel Beck made changes -
          Resolution New: Duplicate [ 3 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Beck made changes -
          Link New: This issue duplicates JENKINS-12439 [ JENKINS-12439 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 146857 ] New: JNJira + In-Review [ 192119 ]

            Unassigned Unassigned
            mpousse Mathieu POUSSE
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: