Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-plugin
Created: 12/Nov/14 10:18 PM
Description:

I have a job configured with "branches to build" as "origin/release/flow". The polling log shows that the git plugin is erroneously only using the last component of the branch name to poll:

git ls-remote -h g...@github.mycompany.lan:org/Repo.git flow # timeout=10

This matches six branches on the server. The plugin uses the first one, which is "refs/heads/appstore/flow". The hashes never match, so the plugin triggers the build every time.

As a workaround I've changed "branches to build" to "refs/heads/release/flow", but this should be fixed.

Environment: Git Plugin 2.2.7, Jenkins 1.509.2
Project: Jenkins
Labels: polling
Priority: Major Major
Reporter: Nathan Gray
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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to