By default, Git running on Windows has file name size limit of 260 characters due to Windows API. This may be problem in configured Jenkins jobs as,
Solution may be setting longpaths to true.
git config --system core.longpaths true
Here, I will have a local test run as;
Which, hopefully, should solve the problem;