-
Type:
Bug
-
Status: Open (View Workflow)
-
Priority:
Major
-
Resolution: Unresolved
-
Component/s: git-plugin
-
Labels:None
-
Environment:Windows Server 2008 Master, Jenkins ver. 1.447.2; Linux Jenkins 1.597, Git plugin 2.2.12.
-
Similar Issues:
When a repository is configured to fetch a specific refspec from the upstream repository, all tags are fetched.
The documentation specifically states that when a refspec is specified, only that refspec will be fetched.
NOTE: This is not a duplicate of JENKINS-6124. That issue is requesting this to be optional for all cases. This issue is requesting only that the behavior in this specific scenario behave as documented. (i.e. fix the bug)
- is duplicated by
-
JENKINS-27341 Shallow clone fetches all tags and ignores refspec
-
- Closed
-
Thanks Mark, pre-release plugin worked for me and now plugin is not fetching tags.
One more observation is "Shallow clone" seems not working always, I am able to point this by looking at console output of my project.
Yet times I see "--depth 1" with command and not always.
Is there a way to fix this issue?