Hi, it is trying to run tests made with Selenium (it will open a Chrome session and then start the tests); does this apply for what you are saying?
El jueves, 5 de febrero de 2015, 16:17:54 (UTC-3), Vincent Latombe escribió: > > Hi, > > If *python test_Controller.py* runs graphical tests, then you cannot use > the windows service (because services cannot access a graphical session). > In that case you can use the jnlp client from an opened session. > > Vincent > > 2015-02-05 20:12 GMT+01:00 Maximiliano Santa Cruz <[email protected] > <javascript:>>: > >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-users/9e05f901-32a8-48fd-ba07-fe4b98d16753%40googlegroups.com >> >> <https://groups.google.com/d/msgid/jenkinsci-users/9e05f901-32a8-48fd-ba07-fe4b98d16753%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> 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/e5b563da-aea3-4dd1-a7d6-0971c8e53aa2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
