简体   繁体   中英

Jenkins MSBuild plugin not working with cygwin on windows slave

I am trying to run msbuild on a slave with cygwin (the master is ubuntu) I am getting the following error:

FATAL: /cygdrive/c/Windows/Microsoft.NET/Framework64/v4.0.30319/MSBuild.exe doesn't exist

The file does exist in the said location. (and I was case sensitive)

I have also installed the "cygpath" jenkins plugin, but I am still getting the same error

I also changed the path to C:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\MSBuild.exe but getting the same error (but with relevant path)

It seems that : c:\\\\Windows\\\\Microsoft.NET\\\\Framework64\\\\v4.0.30319\\\\MSBuild.exe

does the trick

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM