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

This issue is archived. You can view it, but you can't modify it. Learn more

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,

            Assignee:
            Unassigned
            Reporter:
            Andre Teles
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: