I tried removing the exported paths, but there is no download or extraction of the zip:
This is my batch build cmd: rem echo %PATH% echo %PsTools_HOME% %PsTools_HOME%\PsExec.exe Output: Started by user anonymous [CustomTools] - PsTools: Starting installation [CustomTools] - PsTools: Tool is installed at C:\Users\user\.jenkins [CustomTools] - PsTools: Setting PsTools_HOME=C:\Users\user\.jenkins Building in workspace C:\Users\user\.jenkins\jobs\hello_world4\workspace [workspace] $ cmd /c call C:\WINDOWS\TEMP\hudson2592194391930325096.bat C:\Users\user\.jenkins\jobs\hello_world4\workspace>rem echo C:\Users\user\.jenkins;;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Microsoft HPC Pack 2008 R2\Bin\;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\MATLAB\MATLAB Production Server\R2015a\runtime\win64;C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin;C:\Program Files\MATLAB\R2014a\runtime\win64;C:\Program Files\MATLAB\R2014a\bin;C:\Program Files\MATLAB\R2013b\runtime\win64;C:\Program Files\MATLAB\R2013b\bin;C:\Python27;C:\Program Files\Java\jdk1.7.0\bin;C:\Program Files (x86)\NTP\bin;D:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;D:\Program Files\Microsoft SQL Server\120\DTS\Binn\;D:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;D:\Program Files\Microsoft SQL Server\120\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;D:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Microsoft SDKs\Windows Azure\CLI\wbin;C:\Program Files\MATLAB\R2014a\polyspace\bin;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\;C:\Program Files (x86)\nodejs\;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\MATLAB\MATLAB Production Server\R2015a\polyspace\bin;C:\Program Files (x86)\QuickTime\QTSystem\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;;C:\ProgramData\Oracle\Java\javapath;C:\Program Files\Microsoft HPC Pack 2008 R2\Bin\;C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\MATLAB\MATLAB Production Server\R2015a\runtime\win64;C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin;C:\Program Files\MATLAB\R2014a\runtime\win64;C:\Program Files\MATLAB\R2014a\bin;C:\Program Files\MATLAB\R2013b\runtime\win64;C:\Program Files\MATLAB\R2013b\bin;C:\Python27;C:\Program Files\Java\jdk1.7.0\bin;C:\Program Files (x86)\NTP\bin;D:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;D:\Program Files\Microsoft SQL Server\120\DTS\Binn\;D:\Program Files\Microsoft SQL Server\Client SDK\ODBC\110\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\;D:\Program Files\Microsoft SQL Server\120\Tools\Binn\;D:\Program Files (x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;D:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Microsoft SDKs\Windows Azure\CLI\wbin;C:\Program Files\MATLAB\R2014a\polyspace\bin;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.1\;C:\Program Files (x86)\nodejs\;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\MATLAB\MATLAB Production Server\R2015a\polyspace\bin;C:\Program Files (x86)\QuickTime\QTSystem\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\; C:\Users\user\.jenkins\jobs\hello_world4\workspace>echo C:\Users\user\.jenkins C:\Users\user\.jenkins C:\Users\user\.jenkins\jobs\hello_world4\workspace>C:\Users\user\.jenkins\PsExec.exe 'C:\Users\user\.jenkins\PsExec.exe' is not recognized as an internal or external command, operable program or batch file. C:\Users\user\.jenkins\jobs\hello_world4\workspace>exit 9009 Build step 'Execute Windows batch command' marked build as failure Finished: FAILURE On Friday, August 21, 2015 at 8:16:06 PM UTC-4, moodysma sma wrote: > > I'm trying to understand how this plugin works. I've create a global tool > called "Pstools", exported Path is "Pstools". Install automatically is set > to "http://download.sysinternals.com/files/PSTools.zip" and the label is > "PsTools", when I create a job I get the following error message, I don't > see it doing any extraction or download from the url. > > > Started by user anonymous <http://localhost:8080/user/null> > [CustomTools] - PsTools: Starting installation > ERROR: Wrong EXPORTED_PATHS configuration. Can't find \PsToolsFinished > <http://stacktrace.jenkins-ci.org/search?query=Finished>: FAILURE > > -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/360b82ff-1184-40a4-8539-5781abb334d5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.