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

Multi-configuration job disappearing from list whether the file config.xml is edited.

XMLWordPrintable

      I created a script to edit the file config.xml and complete the list of values in the Configuration Matrix>User-defined Axis.
      The script only add lines to the config.xml, for example:

      File before:

      ...
      <triggers class="vector"/>
      <concurrentBuild>false</concurrentBuild>
      <axes>
      <hudson.matrix.TextAxis>
      <name>MY_VALUES</name>
      <values>
      <string>1_First_Value/</string>
      <string>2_Second_Value/</string>
      </values>
      ...

      File after:

      ...
      <triggers class="vector"/>
      <concurrentBuild>false</concurrentBuild>
      <axes>
      <hudson.matrix.TextAxis>
      <name>MY_VALUES</name>
      <values>
      <string>1_First_Value/</string>
      <string>2_Second_Value/</string>
      <string>3_Third_Value/</string>
      <string>4_Fourth_Value/</string>
      </values>
      ...

      After modifying the file and reloading the data from disk, the job disappears on jenkins.

      If someone has some idea, I would be very thankful.

      Thanks in advance,

            Unassigned Unassigned
            andre_teles Andre Teles
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: