Author: srinu123
Subject: psexec doesn't run from jenkins
Posted: 31 July 2013 at 8:46pm
Hi,
I am running a batch script which has the following psexec command: psexec -U Domain\username -P password D:\JenkinsScript\Websphere\Remote\RemoteCopyEARs_External.bat
The batch script which has the above psxec command executes the psexec command without any issues when run from the console(windows command line) but throws the below error when run from Jenkins:
D:\Program Files (x86)\Jenkins\jobs\DeployPROD-External apps\workspace>call D:\buildSupport\Tools\PSTools\psexec -U Domain\username -P password D:\JenkinsScript\Websphere\Remote\RemoteCopyEARs_External.bat
PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com
D:\JenkinsScript\Websphere\Remote\RemoteCopyEARs_External.bat exited with error code -1073741502.
Am I missing anything here?
Thank you
Subject: psexec doesn't run from jenkins
Posted: 31 July 2013 at 8:46pm
Hi,
I am running a batch script which has the following psexec command: psexec -U Domain\username -P password D:\JenkinsScript\Websphere\Remote\RemoteCopyEARs_External.bat
The batch script which has the above psxec command executes the psexec command without any issues when run from the console(windows command line) but throws the below error when run from Jenkins:
D:\Program Files (x86)\Jenkins\jobs\DeployPROD-External apps\workspace>call D:\buildSupport\Tools\PSTools\psexec -U Domain\username -P password D:\JenkinsScript\Websphere\Remote\RemoteCopyEARs_External.bat
PsExec v1.98 - Execute processes remotely
Copyright (C) 2001-2010 Mark Russinovich
Sysinternals - www.sysinternals.com
D:\JenkinsScript\Websphere\Remote\RemoteCopyEARs_External.bat exited with error code -1073741502.
Am I missing anything here?
Thank you