Is the second script starting a Web Browser or any other app with a I for 
testing?
If so it may be that the Jenkins service does not have access to interact with 
the desktop.  If so enable this option on the service and restart jenkins.
-- 
Sent from my phone.
Please excuse my brevity and any auto correct issues.

On 5 February 2015 19:12:19 GMT+00:00, Maximiliano Santa Cruz 
<[email protected]> wrote:
>Hello everyone, I've installed Jenkins on a Windows 7 machine for
>testing 
>purposes (currently evaluating an alternative for Bamboo), the thing is
>
>that one of the steps of the building process requires to run 2 python 
>scripts; one for an automated deploy (web) and the other one to start a
>
>series of automated functional tests against the deployed Web Site.
>
>The deploy's script, runs OK. I'm using the python plugin and pasting
>the 
>code in the text box, so, no problem there.
>
>The problem is the other script, it is in a file (.py), so what I did
>was 
>to add a "run windows command" with this: "*python
>test_Controller.py*". 
>When Jenkins try to execute that step, it waits an indefinitely ammount
>of 
>time.
>
>>From Jenkins console output:
>
>...
>...
>
>[JenkinsCINET] $ python
>C:\Users\MAXIMI~1\AppData\Local\Temp\hudson917335008473141437.py
>[JenkinsCINET] $ cmd /c call
>C:\Users\MAXIMI~1\AppData\Local\Temp\hudson700594931508215791.bat
>
>C:\Program Files (x86)\Jenkins\workspace\JenkinsCINET>python
>test_Controller.py <--this file has been copied to the workspace
>directory of the project
>
>*[PROBOLEM! here I get a waiting wheel that spins forever]*
>
>
>*The script is running fine when it is executed from the command line
>and* Jenkins service has the LogOn set with my own user.
>
>
>Regards.
>
>-- 
>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 [email protected].
>To view this discussion on the web visit
>https://groups.google.com/d/msgid/jenkinsci-users/9e05f901-32a8-48fd-ba07-fe4b98d16753%40googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/00B740D5-DE5D-408D-A151-3BC0C2AE07CF%40teilo.net.
For more options, visit https://groups.google.com/d/optout.

Reply via email to