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

            thomassuckow Thomas Suckow created issue -
            thomassuckow Thomas Suckow made changes -
            Field Original Value New Value
            Description 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
            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
            thomassuckow Thomas Suckow made changes -
            Description 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
            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
            markewaite Mark Waite made changes -
            Summary [REGRESSION] Git fails to trigger from polling [REGRESSION] Git fails to trigger from polling for refs/heads/ style branch name
            markewaite Mark Waite made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            markewaite Mark Waite made changes -
            Assignee Nicolas De Loof [ ndeloof ] Mark Waite [ markewaite ]
            oleg_nenashev Oleg Nenashev made changes -
            Remote Link This issue links to "git-plugin/pull/324 (Web Link)" [ 12915 ]
            markewaite Mark Waite made changes -
            Assignee Mark Waite [ markewaite ] Nicolas De Loof [ ndeloof ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 163347 ] JNJira + In-Review [ 197178 ]
            markewaite Mark Waite made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              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: