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

Matrix Reloaded rebuilds entire matrix instead of just selected ones

XMLWordPrintable

      Method:
      1. Create a new multi-configuration project
      2. Add a user defined axis "server" with value "192.168.1.100"
      3. Add a user defined axis "port" with values "8080", "8180"
      4. Add a execute shell build script.
      ===
      if [ $port -eq "8180" ]; then
      exit 1
      fi
      ===
      5. Save
      6. Build Now
      7. Click on the build that was just executed

      • Console Output:
        ====-
        Building on master
        Triggering 8180,192.168.1.100
        Triggering 8080,192.168.1.100
        8180,192.168.1.100 completed with result FAILURE
        8080,192.168.1.100 completed with result SUCCESS
        Finished: FAILURE
        ====-
        8. Click on the configuration that failed (8180,192.168.1.100)
        9. Click on Matrix Reloaded and rebuild the failed configuration (only that should be selected by default)
        10. Click on the build that was just executed

      Results:
      Both configurations were rebuilt.

      Expected:
      Only the selected configuration were rebuilt. Other was skipped.

      Notes:

      • Failing the configuration is not required to show this problem. Was able to see the same behavior if any builds were selected (failed, successful, mixture, or none).

            wolfgang Christian Wolfgang
            sash Stephen Ash
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: