My jenkins build is suddenly not working now.The error is as follows:-
Fetching changes from the remote Git repository
> git config remote.origin.url <
I fixed the issue cleaning every git directory stored on /var/lib/jenkins/caches:
ls
git-18890751adbbb4acf793765536038794 git-4e3aa803edee6bea2129fd817c36f896 git-9f242af77f8053aed6fedce8d0a76e3d git-e41ee04648298b79b4c7743c24ef70bd git-fceab3b3b569be214a737dca642e9276
git-18890751adbbb4acf793765536038794@tmp git-4e3aa803edee6bea2129fd817c36f896@tmp git-9f242af77f8053aed6fedce8d0a76e3d@tmp git-e41ee04648298b79b4c7743c24ef70bd@tmp git-fceab3b3b569be214a737dca642e9276@tmp
git-3733802e4022f95fbc60b4cb18a03217 git-551e81c26de5bcb6a5378e19af1e1be6 git-abf9e4e7e290be76e1f5b71ec660963e git-e707f9321b2bb37b96406ef713030927
git-3733802e4022f95fbc60b4cb18a03217@tmp git-551e81c26de5bcb6a5378e19af1e1be6@tmp git-abf9e4e7e290be76e1f5b71ec660963e@tmp git-e707f9321b2bb37b96406ef713030927@tmp
git-383d5f162d992a4ab05c37bf92f5a6a6 git-778102e2deb4f6ba3affffd2a6598b243c git-c0a299dd0e54280fdc284e0f84116c25 git-ee5e64ec787f47fcbc3d1fb72b7f3431
git-383d5f162d992a4ab05c37bf92f5a6a6@tmp git-778102e2deb4f6ba3affffd2a6598b243c@tmp git-c0a299dd0e54280fdc284e0f84116c25@tmp git-ee5e64ec787f47fcbc3d1fb72b7f3431@tmp
sh-4.2$ rm -rf git*