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

Git plugin falls into a infinite loop on unspecified branches containing / after force push

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • git-client-plugin
    • None

      An unspecified branch may sometimes contain a slash '/' which causes the method DefaultBuildChooser.getCandidateRevisions() adding the branchSpec as a local reference.
      This together with a force push by someone which changes the parent of the latest commit will cause an infinite build loop based on 'Multiple candidate revisions'.

          [JENKINS-29301] Git plugin falls into a infinite loop on unspecified branches containing / after force push

          Joachim Nilsson created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 164174 ] New: JNJira + In-Review [ 181537 ]
          Mark Waite made changes -
          Summary Original: Git plugin falls into a infinite loop on unspecified branches containing / New: Git plugin falls into a infinite loop on unspecified branches containing / after force push
          Nicolas De Loof made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ]

            Unassigned Unassigned
            jocce Joachim Nilsson
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: