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

Git plugin does not correctly record built revision on failed merge

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Environment:
      git plugin 2.2.6
    • Similar Issues:

      Description

      If the plugin has to merge with multiple branches, and at least 1 merge succeeds and 1 fails, then the revision of the last successful merge is recorded as lastBuiltRevision, but not the original (marked) revision. Because the original revision is not recognized as already built, polling will trigger another build, resulting in an infinite loop.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: