After migrate from .NET Core 3.1 > .NET6.0 . When I rebuilding source code for testing via Jenkins (Windows 10 Build Server). The build fails and log say
ERROR: Checkout failed hudson.plugins.git.GitException: Command "git.exe checkout -f 72c240e2c46693fd239132b77ae92bc8cfbc5db1" returned status code 1: stdout: stderr: error: unable to create file /Invest.Master.UI.Fluent/Properties/DataSources/Invest.DTO.Master.Security.MainCashAccountCurWrapperDTO.datasource: Filename too long Previous HEAD position was 3157c92 update link c0cfa671 HEAD is now at 72c240e Update Link
How to Fixed
- Run Git Bash as administrator
- Run Command
git config --system core.longpaths true
Discover more from naiwaen@DebuggingSoft
Subscribe to get the latest posts sent to your email.