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 (View Workflow)
    • 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

            wannessels Wannes Sels created issue -
            scm_issue_link SCM/JIRA link daemon made changes -
            Field Original Value New Value
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            wannessels Wannes Sels made changes -
            Link This issue is related to JENKINS-24934 [ JENKINS-24934 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 159103 ] JNJira + In-Review [ 208143 ]

              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: