Reputation: 21
I'm running TeamCity version 7.1.4 with a step that uses PSEXEC in order to run batch file on a remote machine. The batch file should extract files and deploy them. Running the PSEXEC from command prompt completes the task. Running from team city i always get the following hang:
PsExec v1.98 - Execute processes remotely [12:19:34]Copyright (C)
2001-2010 Mark Russinovich [12:19:34]Sysinternals -
www.sysinternals.com
Upvotes: 2
Views: 2247
Reputation: 4181
It hangs because PsExec shows a window to accept the End User Agreement. I solved adding the
-accepteula
switch to the command. This flag suppresses the display of the license dialog.
Read Using PsExec for full command line parameters.
Upvotes: 13