I recommend running your app via supervisord. It's a common option to run pyramid anyway so you should find lots of examples (even in the handbook).
Also, both were written by the same author, so that helps a bit, too, I guess :-) Sent from a phone, please excuse the brevity. > On 23.09.2015, at 17:52, alain.desil...@nrc-cnrc.gc.ca wrote: > > I have a Pyramid app called tdddemoPyramidApp.py, for which I wrote a bunch > of integration tests using PhantomJS. > > I want those tests to be run by the Jenkins Continuous Integration server > whenever there is a new commit. > > I have managed to get this mostly working, except for one thing. > > Before I run the the unit tests, I need restart the tdddemoPyramidApp.py > script so that it runs the most recent version of the app. When I run the > tests outside of Jenkins, I just Ctrl-C the script and re-issue the command > python tdddemoPyramidApp. > > Not sure how to get Jenkins to do this. I guess I could write a script that > looks for a process that is running tdddemoPyramidApp.py and kills it before > restarting it, but I was wondering if there is an easier way. > > Thx. > -- > You received this message because you are subscribed to the Google Groups > "pylons-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pylons-devel+unsubscr...@googlegroups.com. > To post to this group, send email to pylons-devel@googlegroups.com. > Visit this group at http://groups.google.com/group/pylons-devel. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-devel+unsubscr...@googlegroups.com. To post to this group, send email to pylons-devel@googlegroups.com. Visit this group at http://groups.google.com/group/pylons-devel. For more options, visit https://groups.google.com/d/optout.