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

[REGRESSION] Git fails to trigger from polling for refs/heads/ style branch name

    Details

    • Similar Issues:

      Description

      Polling does not work when the specified branch is of the form refs/heads/feature/myfeature

      Expected:

      [poll] Last Built Revision: Revision abcdef1234 (refs/remotes/origin/feature/myfeature)
      using GIT_SSH to set credentials Git Credentials
       > git --version # timeout=10
       > git ls-remote -h ssh://server/git/project.git refs/heads/feature/myfeature # timeout=10
      [poll] Latest remote head revision is: defabc4321
      Done. Took 1.8 sec
      Changes found
      

      Actual:

      [poll] Last Built Revision: Revision abcdef1234 (refs/remotes/origin/feature/myfeature)
      using GIT_SSH to set credentials Git Credentials
       > git --version # timeout=10
       > git ls-remote -h ssh://server/git/project.git # timeout=10
      Done. Took 1.8 sec
      

      Workaround:
      Downgrade to Git-Plugin 2.3.4

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ndeloof Nicolas De Loof
                Reporter:
                thomassuckow Thomas Suckow
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: