I have a visual studio sln that collates code built by other visual studio projects. As part of this sln the wix tool set is used
to sign the code. When I run the sln in visual studio everything works fine. When I build the sln via jenkins everything
2:2>Project "C:\Program Files (x86)\Jenkins\workspace\Build_Trunk\Media\Build\SMCBootstrapper\SMCBootstrapper.wixproj.metaproj" (2:2) is building "C:\Program Files (x86)\Jenkins\workspace\Build_Trunk\Media\Build\SMCCallHome\SmcCallHome.wixproj" (3:3) on node 1 (Rebuild target(s)).
Signing Modules...
3>EXEC : SignTool error : No certificates were found that met all the given criteria.
3>C:\Program Files (x86)\Jenkins\workspace\Build_Trunk\Media\Build\SMCCallHome\SmcCallHome.wixproj(58,5): error MSB3073: The command ""C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64\signtool.exe" sign /a /fd SHA256 /n "Unisys Corporation" /t "
http://timestamp.verisign.com/scripts/timstamp.dll" "C:\Program Files (x86)\Jenkins\workspace\Build_Trunk\Media\Build\..\..\CallHome\CreateCallHomeDialUp\bin\Release\CreateCallHomeDialUp.exe"" exited with code 1.
3>Done Building Project "C:\Program Files (x86)\Jenkins\workspace\Build_Trunk\Media\Build\SMCCallHome\SmcCallHome.wixproj" (Rebuild target(s)) -- FAILED.
2>Done Building Project "C:\Program Files (x86)\Jenkins\workspace\Build_Trunk\Media\Build\SMCBootstrapper\SMCBootstrapper.wixproj.metaproj" (Rebuild target(s)) -- FAILED.
1>Done Building Project "C:\Program Files (x86)\Jenkins\workspace\Build_Trunk\Media\Build\ServerManagementControl.sln" (Clean;Rebuild target(s)) -- FAILED.
Build FAILED.
If I take the command that fails and run it in a cmd window the command works just fine. How/what needs to be done to get Jenkins to use the installed certificate on the system to sign
Thanks for any help.