Forum Discussion
14 years ago
I've got the same question. I've looked over those links and have had no luck. I've modified an API to handle this command and run the test through the command line. Through the command line everything works as expected.
"c:\Program Files (x86)\Automated QA\TestComplete 8\Bin\TestComplete.exe" "c:\Users\AaronH\Documents\CI Implementation\DEV\Test Tool Engine\TestComplete\AutomationFramework.pjs" /r /e /ns /SilentMode "TestSet=1"
I've set up a job in Jenkins to run this build step and the output I get is:
"c:\Program Files (x86)\Automated QA\TestComplete 8\Bin\TestComplete.exe" "c:\Users\AaronH\Documents\CI Implementation\DEV\Test Tool Engine\TestComplete\AutomationFramework.pjs" /r /e /ns /SilentMode "TestSet=1"
I've set up a job in Jenkins to run this build step and the output I get is:
>Building in workspace C:\Program Files (x86)\Jenkins\jobs\Simple Calculations Suite\workspace
>[workspace] $ cmd /c call C:\Windows\TEMP\hudson3208198751520927974.bat
>
>C:\Program Files (x86)\Jenkins\jobs\Simple Calculations Suite\workspace>"c:\Program Files (x86)\Automated QA\>TestComplete 8\Bin\TestComplete.exe" "c:\Users\AaronH\Documents\CI Implementation\DEV\Test Tool Engine\TestCo>mplete\AutomationFramework.pjs" /r /e /ns /SilentMode "TestSet=1">C:\Program Files (x86)\Jenkins\jobs\Simple Calculations Suite\workspace>exit 2
>Build step 'Execute Windows batch command' marked build as failure
>Finished: FAILURE