-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
Jenkins 2.7.4, git-plugin 2.5.2
If you have a shallow clone enabled for a repository, then disable it, any existing workspaces still have a shallow clone even though this is disabled. This means the state of the job is out of sync with the state of the config, and ideally git-plugin should detect a shallow clone and re-clone in this case, otherwise it is a lot of work to figure out this is what is happening (after all, you probably disabled it because you need a full clone so you are immediately going to run into this if you disable it) and delete the workspace for any and all jobs and nodes that have it cloned.
Thanks for any consideration!