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

Multiple builds can be triggered for same commit

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      If the same commit is detected more than once (for example in 2 repositories) multiple builds for that same commit are triggered.

        Attachments

          Activity

          Hide
          wannessels Wannes Sels added a comment -

          Cherry-picked commit = new commit with new sha1
          That should be picked up like any other commit

          Show
          wannessels Wannes Sels added a comment - Cherry-picked commit = new commit with new sha1 That should be picked up like any other commit
          Hide
          markewaite Mark Waite added a comment -

          The git-client-plugin fix needed for this is included in git-client-plugin 1.12.0. That fix is necessary, but not sufficient to fix the bug. A change will also be needed in the git-plugin.

          Show
          markewaite Mark Waite added a comment - The git-client-plugin fix needed for this is included in git-client-plugin 1.12.0. That fix is necessary, but not sufficient to fix the bug. A change will also be needed in the git-plugin.
          Hide
          markewaite Mark Waite added a comment -

          The fix is now included in the 2.2.x branch and the master branch and should be available on the next release of each of those branches. Likely version numbers 2.2.10 and 2.3.1.

          Show
          markewaite Mark Waite added a comment - The fix is now included in the 2.2.x branch and the master branch and should be available on the next release of each of those branches. Likely version numbers 2.2.10 and 2.3.1.
          Hide
          markewaite Mark Waite added a comment -

          Fix released in git-plugin 2.3.1 29 Nov 2014.

          Show
          markewaite Mark Waite added a comment - Fix released in git-plugin 2.3.1 29 Nov 2014.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Wannes Sels
          Path:
          src/main/java/hudson/plugins/git/util/DefaultBuildChooser.java
          src/test/java/hudson/plugins/git/GitSCMTest.java
          http://jenkins-ci.org/commit/git-plugin/c0a95d932a72235f076566e9750dc037450f07e9
          Log:
          DefaultBuildChooser.getCandidateRevisions() now returns Set<Revision> to filter duplicates.
          [FIXED JENKINS-25639]

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Wannes Sels Path: src/main/java/hudson/plugins/git/util/DefaultBuildChooser.java src/test/java/hudson/plugins/git/GitSCMTest.java http://jenkins-ci.org/commit/git-plugin/c0a95d932a72235f076566e9750dc037450f07e9 Log: DefaultBuildChooser.getCandidateRevisions() now returns Set<Revision> to filter duplicates. [FIXED JENKINS-25639]

            People

            • Assignee:
              wannessels Wannes Sels
              Reporter:
              wannessels Wannes Sels
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: