Deidre,
I don't recall there being any special tricks other than /s, but here are a few things that I might be doing differently than you:
- I've got ESRISignAddIn.exe checked in to source control, so it winds up being executed from a location within my job's workspace.
- ESRISignAddIn.exe is invoked from a batch file. The batch file is executed by a Jenkins batch command step, rather than the .exe being called directly.
- I'm specifying the /r parameter in addition to /c, /p, and /s. I see you don't have /r in your example above.
If it's helpful, here's the batch file that I use:
@echo off
REM Print some help if the user is clueless.
if "%~1"=="" (
echo Usage: esriSignAddIn.bat ^<input.esriaddin^> ^<output.esriaddin^> [password] [certificate]
goto :eof
)
REM Prompt for password
cls
echo Signing %1
echo.
if "%~3"=="" (
set /p password="Password: "
) else (
set password=%3
)
REM Clear the displayed password
cls
echo Signing %1
echo.
echo Password:
echo.
REM Set up the certificate path
set thisDirectory=%~dp0%
if "%~4"=="" (
set certificatePath=%thisDirectory%certificate.pfx
) else (
set certificatePath=%4
)
REM Sign the binary
set ESRISignAddInExe=%thisDirectory%ESRISignAddIn.exe
%ESRISignAddInExe% %1 /r:%2 /c:"%certificatePath%" /p:%password% /s
Good luck! Let me know if you get it working!