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

Matrix Reloaded rebuilds entire matrix instead of just selected ones

    XMLWordPrintable

Details

    Description

      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).

      Attachments

        Activity

          tyrael Ferenc Kovacs added a comment -

          also happening here with the current LTS.

          tyrael Ferenc Kovacs added a comment - also happening here with the current LTS.
          donv Uwe Kubosch added a comment -

          I can confirm that this happens with Jenkins ver. 1.445 and matrix-reloaded 1.0.1 also.

          donv Uwe Kubosch added a comment - I can confirm that this happens with Jenkins ver. 1.445 and matrix-reloaded 1.0.1 also.

          Hey!

          Sorry, for some reason i didn't get notified by this issue.

          Yes, I can confirm, that the plugin does not work as intended.
          I guess that some core change has rendered the plugin disabled.

          I will try to figure out what has happened.

          wolfgang Christian Wolfgang added a comment - Hey! Sorry, for some reason i didn't get notified by this issue. Yes, I can confirm, that the plugin does not work as intended. I guess that some core change has rendered the plugin disabled. I will try to figure out what has happened.

          I confirm, too, on Jenkins 1.446 - thanks for looking into it, I think this plugin will be really useful for us if it works.

          jesse A. Jesse Jiryu Davis added a comment - I confirm, too, on Jenkins 1.446 - thanks for looking into it, I think this plugin will be really useful for us if it works.

          I figured out what is wrong. It's the dots in the values, that screws it up!
          If you replace the dots with dashes, it works.
          I will figure out a solution.

          wolfgang Christian Wolfgang added a comment - I figured out what is wrong. It's the dots in the values, that screws it up! If you replace the dots with dashes, it works. I will figure out a solution.
          donv Uwe Kubosch added a comment -

          Great, Christian! I really look forward to this.

          donv Uwe Kubosch added a comment - Great, Christian! I really look forward to this.

          I have released 1.0.2 where I parse the information in another way.
          I have tested it, but not in-depth, so please inform me if there's something wrong.

          wolfgang Christian Wolfgang added a comment - I have released 1.0.2 where I parse the information in another way. I have tested it, but not in-depth, so please inform me if there's something wrong.

          People

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

            Dates

              Created:
              Updated:
              Resolved: