![]() |
|
|
|
|
Issue Type:
|
Bug
|
|
Affects Versions:
|
current |
|
Assignee:
|
Nicolas De Loof
|
|
Components:
|
git |
|
Created:
|
03/Jun/14 11:31 PM
|
|
Description:
|
I have a job I changed to build from a tag. However, I'd left the polling enabled. I noticed that the job built every time that it polled. The polling log shows:
Started on Jun 3, 2014 7:20:00 PM
Using strategy: Default
[poll] Last Built Revision: Revision aacfd8d1828633ccfb7ced255e795a29e31d6228 (mytag)
> git ls-remote -h git@hostname:my/project mytag
Done. Took 0.39 sec
Changes found
I noticed that the ls-remote command is being passed "-h", which I believe is causing the issue. The -h would exclude tags. Thus:
$ git ls-remote -h git@hostname:my/project mytag
Yields no results, but removing the "-h":
$ git ls-remote git@hostname:my/project mytag
aacfd8d1828633ccfb7ced255e795a29e31d6228 refs/tags/mytag
|
|
Environment:
|
Jenkins 1.565
Git Client Plugin 1.8.1
Git Plugin 2.2.1
|
|
Project:
|
Jenkins
|
|
Labels:
|
polling
tag
|
|
Priority:
|
Minor
|
|
Reporter:
|
Daniel Wille
|
|
|
|
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.