command line - why can't Jenkins see some System32 files? -
situation :
the slave in question real windows (not vm)
problem :
i run following windows line command on system
bcdedit.exe -set testsigning on
when try run through jenkins, got message : 'bcdedit.exe' not recognized internal or external command, operable program or batch file.
why? throught jenkins cannot see file dir
in system32 either
i found out when run bcdedit.exe
, goes system32
, , because jenkins application have 32 bits, windows 7 redirect acces system32
syswow64
doesn't have bcdedit.exe
.
to know more redirection, see : https://msdn.microsoft.com/en-us/library/windows/desktop/aa384187%28v=vs.85%29.aspx?f=255&mspperror=-2147217396
to solve it, executed file whole path, , instead of system32, use word sysnative (explanation here sysnative) : https://social.technet.microsoft.com/forums/scriptcenter/en-us/28974b59-1b79-44fd-8bb2-a0a412e18862/script-to-disable-64bit-file-system-redirection
Comments
Post a Comment