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

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

      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

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

          Thomas Suckow created issue -
          Thomas Suckow made changes -
          Description Original: 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://we16705.pnl.gov/git/watchmen.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://we16705.pnl.gov/git/watchmen.git # timeout=10
          Done. Took 1.8 sec
          ```

          Workaround:
          Downgrade to Git-Plugin 2.3.4
          New: Expected:
          {code}
          [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
          {code}

          Actual:
          {code}
          [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
          {code}

          Workaround:
          Downgrade to Git-Plugin 2.3.4
          Thomas Suckow made changes -
          Description Original: Expected:
          {code}
          [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
          {code}

          Actual:
          {code}
          [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
          {code}

          Workaround:
          Downgrade to Git-Plugin 2.3.4
          New: Polling does not work when the specified branch is of the form refs/heads/feature/myfeature

          Expected:
          {code}
          [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
          {code}

          Actual:
          {code}
          [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
          {code}

          Workaround:
          Downgrade to Git-Plugin 2.3.4
          Mark Waite made changes -
          Summary Original: [REGRESSION] Git fails to trigger from polling New: [REGRESSION] Git fails to trigger from polling for refs/heads/ style branch name
          Mark Waite made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Assignee Original: Nicolas De Loof [ ndeloof ] New: Mark Waite [ markewaite ]
          Oleg Nenashev made changes -
          Remote Link New: This issue links to "git-plugin/pull/324 (Web Link)" [ 12915 ]
          Mark Waite made changes -
          Assignee Original: Mark Waite [ markewaite ] New: Nicolas De Loof [ ndeloof ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 163347 ] New: JNJira + In-Review [ 197178 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: