I have the following line in the Build Script(.bat file) :
SignTool.exe sign /f <Path of the .pfx file> /p "password" /t http://timestamp.verisign.com/scripts/timestamp.dll /v <path of the file to be signed>
It works fine in the Teamcity server if run from the command line. But when the build script runs as part of the build pipeline, the following error is thrown:
SignTool Error: File not found:
I have confirmed that there is no issue with the Path of the file. Tried adding echo statements before this line as suggested in other forums and still no change. The same error is shown. Any suggestions ? Thanks.
Teamcity version - 2018.1.3