-
Bug
-
Resolution: Fixed
-
Major
-
Git-Plugin: 2.3.5
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
- links to
[JENKINS-28506] [REGRESSION] Git fails to trigger from polling for refs/heads/ style branch name
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 |
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 |
Summary | Original: [REGRESSION] Git fails to trigger from polling | New: [REGRESSION] Git fails to trigger from polling for refs/heads/ style branch name |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Assignee | Original: Nicolas De Loof [ ndeloof ] | New: Mark Waite [ markewaite ] |
Remote Link | New: This issue links to "git-plugin/pull/324 (Web Link)" [ 12915 ] |
Assignee | Original: Mark Waite [ markewaite ] | New: Nicolas De Loof [ ndeloof ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Progress [ 3 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 163347 ] | New: JNJira + In-Review [ 197178 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |