- 
    
Bug
 - 
    Resolution: Unresolved
 - 
    
Major
 
Having a windows build node using sh.exe in the path from git for windows withMaven has problems with mavenSettingsFilePath and mavenLocalRepo because Backslashes are not escaped.
C:\foo\bar must be C:\\foo
bar
withMaven(mavenSettingsFilePath: env.WORKSPACE + "\\foo
bar")
This works when using bat mvn instead of sh mvn inside the withMaven block.
- is duplicated by
 - 
                    
JENKINS-52241 Support for git bash under windows
-         
 - Closed
 
 -         
 
- is related to
 - 
                    
JENKINS-47704 [cygwin] JunitPublisher fails to convert Spy log paths into paths relative to the workspace
-         
 - Open
 
 -