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

Mercurial updates on matrix projects aren't synced properly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: mercurial-plugin
    • Labels:
      None
    • Environment:
      Platform: All, OS: All
    • Similar Issues:

      Description

      ... unlike CVS and Subversion, which uses the build timestamp, Mercurial check
      out doesn't use any anchor. Because of this, in a matrix project, each
      configuration build may end up seeing a different changeset.

      We need to generalize this so that SCM can pass some anchor information across
      different builds, so that each SCM doesn't have to hard-code against matrix
      projects.

        Attachments

          Activity

          Hide
          jglick Jesse Glick added a comment -

          Is this analogous to JENKINS-5006?

          Show
          jglick Jesse Glick added a comment - Is this analogous to JENKINS-5006 ?
          Hide
          willemv Willem Verstraeten added a comment -

          I've got a pull request to fix this here : https://github.com/jenkinsci/mercurial-plugin/pull/34

          Show
          willemv Willem Verstraeten added a comment - I've got a pull request to fix this here : https://github.com/jenkinsci/mercurial-plugin/pull/34
          Hide
          jglick Jesse Glick added a comment -

          So much for Kohsuke’s original proposal to generalize this, I guess.

          Show
          jglick Jesse Glick added a comment - So much for Kohsuke’s original proposal to generalize this, I guess.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Willem Verstraeten
          Path:
          pom.xml
          src/main/java/hudson/plugins/mercurial/HgExe.java
          src/main/java/hudson/plugins/mercurial/MercurialSCM.java
          src/test/java/hudson/plugins/mercurial/MatrixProjectTest.java
          http://jenkins-ci.org/commit/mercurial-plugin/e611bd6675b7b9bcfeec07e625675cb8f2bd043c
          Log:
          [FIXED JENKINS-3907] Let all runs of a matrix build update to the same Mercurial revision

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Willem Verstraeten Path: pom.xml src/main/java/hudson/plugins/mercurial/HgExe.java src/main/java/hudson/plugins/mercurial/MercurialSCM.java src/test/java/hudson/plugins/mercurial/MatrixProjectTest.java http://jenkins-ci.org/commit/mercurial-plugin/e611bd6675b7b9bcfeec07e625675cb8f2bd043c Log: [FIXED JENKINS-3907] Let all runs of a matrix build update to the same Mercurial revision
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Willem Verstraeten
          Path:
          pom.xml
          src/main/java/hudson/plugins/mercurial/HgExe.java
          src/main/java/hudson/plugins/mercurial/MercurialSCM.java
          src/test/java/hudson/plugins/mercurial/MatrixProjectTest.java
          http://jenkins-ci.org/commit/mercurial-plugin/7a0532e0f0b89d25ece4101157c82b2f14dcf687
          Log:
          Merge pull request #34 from willemv/master

          [FIXED JENKINS-3907] Let all runs of a matrix build update to the same Mercurial revision

          Compare: https://github.com/jenkinsci/mercurial-plugin/compare/1576c70a2c75...7a0532e0f0b8


          You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
          To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
          For more options, visit https://groups.google.com/groups/opt_out.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Willem Verstraeten Path: pom.xml src/main/java/hudson/plugins/mercurial/HgExe.java src/main/java/hudson/plugins/mercurial/MercurialSCM.java src/test/java/hudson/plugins/mercurial/MatrixProjectTest.java http://jenkins-ci.org/commit/mercurial-plugin/7a0532e0f0b89d25ece4101157c82b2f14dcf687 Log: Merge pull request #34 from willemv/master [FIXED JENKINS-3907] Let all runs of a matrix build update to the same Mercurial revision Compare: https://github.com/jenkinsci/mercurial-plugin/compare/1576c70a2c75...7a0532e0f0b8 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .

            People

            • Assignee:
              willemv Willem Verstraeten
              Reporter:
              kohsuke Kohsuke Kawaguchi
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: