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,

git filename too long - error log

Solution may be setting longpaths to true.

git config --system core.longpaths true

Here, I will have a local test run as;

git filename too long - solution

Which, hopefully, should solve the problem;

git filename too long - result