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

Matrix Reloaded plugin overwrites existing builds (our case 11118 )

    XMLWordPrintable

Details

    Description

      Occasionally, Matrix Reloaded plugin executes "reloaded" builds with the same build number as the original builds, thus overwriting the original ones and losing the information. In this case, the plugin does not create a build for the matrix parent, it only executes the selected "subbuilds" in the place of the original builds.

      This is very tricky to reproduce and although I encountered this many times, I'm not entirely sure if I found a way to reproduce this reliably. The following steps worked most of the time:

      1, Execute a matrix build with all the configurations the usual way (without Matrix Reloaded plugin).
      2, Use the Matrix Reloaded plugin to execute a single configuration one more time (i.e. we want to have a build not executing all the configurations).
      3, Wait for the build to finish, then go to the page of the configuration you built in step 2, i.e. http://server:port/jenkins/job/my_job/my_configuration/my_build_number/. It is important to go to this page rather than the similar page of the parent itself.
      4, Click the Matrix Reloaded link, select one of the configurations other than the current one and confirm the dialog. You should now be able to see the configuration executing even though no parent build was spawn.

      Attachments

        Activity

          mcupak Miro Cupak added a comment -

          PR sent, hopefully this fixes the problem: https://github.com/jenkinsci/Matrix-Reloaded-Plugin/pull/5

          mcupak Miro Cupak added a comment - PR sent, hopefully this fixes the problem: https://github.com/jenkinsci/Matrix-Reloaded-Plugin/pull/5

          Code changed in jenkins
          User: mcupak
          Path:
          src/main/java/net/praqma/jenkins/plugin/reloaded/MatrixReloadedAction.java
          http://jenkins-ci.org/commit/Matrix-Reloaded-Plugin/df20f104539fa552c3b37052958c7ac56030e644
          Log:
          [FIXED JENKINS-22535] fixed detection of whether we are working with the MatrixRun or MatrixBuild build type

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: mcupak Path: src/main/java/net/praqma/jenkins/plugin/reloaded/MatrixReloadedAction.java http://jenkins-ci.org/commit/Matrix-Reloaded-Plugin/df20f104539fa552c3b37052958c7ac56030e644 Log: [FIXED JENKINS-22535] fixed detection of whether we are working with the MatrixRun or MatrixBuild build type

          Code changed in jenkins
          User: Mads Nielsen
          Path:
          src/main/java/net/praqma/jenkins/plugin/reloaded/MatrixReloadedAction.java
          http://jenkins-ci.org/commit/Matrix-Reloaded-Plugin/f76159369d2a2cd34b379b55c67c300a6763841a
          Log:
          Merge pull request #5 from mcupak/build-override

          [FIXED JENKINS-22535] fixed detection of whether we are working with the...

          Compare: https://github.com/jenkinsci/Matrix-Reloaded-Plugin/compare/606b8eb83b5d...f76159369d2a

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mads Nielsen Path: src/main/java/net/praqma/jenkins/plugin/reloaded/MatrixReloadedAction.java http://jenkins-ci.org/commit/Matrix-Reloaded-Plugin/f76159369d2a2cd34b379b55c67c300a6763841a Log: Merge pull request #5 from mcupak/build-override [FIXED JENKINS-22535] fixed detection of whether we are working with the... Compare: https://github.com/jenkinsci/Matrix-Reloaded-Plugin/compare/606b8eb83b5d...f76159369d2a

          People

            praqma Praqma Support
            mcupak Miro Cupak
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: