Ok, I finally made it work. What I did was to install the selenium grid 
plugin (Jenkins), installed a slave (Selenium Grid), and then executed a 
"Windows Command" (Jenkins) with my "tests controller" (which executes the 
automated tests in an ordered fashion). 

Doing that I was able to run the tests, thank you all for your support!

El jueves, 5 de febrero de 2015, 16:12:20 (UTC-3), Maximiliano Santa Cruz 
escribió:
>
> 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/bde024de-2c83-468e-92b3-338798dd2516%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to