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 
works except the signing.  I get the following error: 


   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
the software?

Thanks for any help.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/27942f5e-4fd7-4349-9a52-5fd021ca1d60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to