Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-client
Created: 02/Jul/14 10:17 AM
Description:

Steps:
1. Setup a repo with such branches:
A/SameNameBranch
B/SameNameBranch

2. Setup job to poll "B/SameNameBranch"
3. Watch never ending changes

Expected:
plugin executes this command on getting current commit hash:
git ls-remote -h [email protected]:user/some.git B/SameNameBranch

Actual:
plugin executes WRONG command on getting current commit hash:
git ls-remote -h [email protected]:user/some.git SameNameBranch

It skips full branch name and only uses last path component. This command then returns list of all branches ending with "SameNameBranch", and "A" version has different commit than the needed one. Please just make it to call command with full branch name

Environment: Jenkins ver. 1.570; Git Client 1.9.1
Project: Jenkins
Labels: git scm polling
Priority: Critical Critical
Reporter: Artem Alexandrov
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to