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

Main summary page of matrix jobs can seem to indicate incorrect status of configurations.

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • matrix-project-plugin
    • None
    • hudson 1.378

      The matrix jobs show a summary of the last build of each configuration. This can cause some confutation when enabled configurations changes and when touchstones fail.

      Example case we have seen is having a config matrix of 2 axis (10 * 5) which gives us 50 possible combinations. And probably about 15-20 of there are disabled due to known issues or not being supported.

      Of the rest we normally enable touchstone builds on 1 or 2 of the main axis items so getting about 6 builds done before running the remainder.

      If this touchstone fails the main matrix build view shows the failed status of the touchstone builds,
      but a success status for the other configurations. This indicates to our team members that they can use that successful build, however it might be several versions old due to multiple failing touchstones.
      see attachment failed_build.png

      My solution to this is to add the build_id to the table in this view only, so that it can be seen that it is not the most current run.

      Attached is two patches to do this,
      1. last_build_num_always.diff - This always displays the build number in this summary view
      2. last_build_num_optional.diff - This has a configurable item that can be used to enable or disable the build_ids also included is a button in the summary view to enable the viability of the build_ids if the user has configuration permission.

          [JENKINS-7633] Main summary page of matrix jobs can seem to indicate incorrect status of configurations.

          cjo9900 added a comment -

          This an example of the view after the _optional.diff patch is applied, showing the build_ids next to the build status for each item.

          cjo9900 added a comment - This an example of the view after the _optional.diff patch is applied, showing the build_ids next to the build status for each item.

            Unassigned Unassigned
            cjo9900 cjo9900
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated: