Quantcast

running server and tests as a job

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

running server and tests as a job

prasanna santhanam
I have a situation where I need to run a bunch of tests on a server that is running and listening for HTTP requests:

Jenkins Job: runs an ant target - "ant run-server". Server starts up on a jenkins slave and waits for requests. On this same slave I need to run the target "ant run-tests" that will run the tests against the server that started up. How does one achieve this considering that the job that builds and runs the server doesn't actually complete?- so there's no "Build Successful" before a post build testing task can be carried out on it.

~P


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: running server and tests as a job

Sami Tikka
Jenkins does not solve this problem for you. You have to find your own way outside of Jenkins to start your server and run your tests.

-- Sami

prasanna santhanam <[hidden email]> kirjoitti 27.6.2012 kello 17.38:

> I have a situation where I need to run a bunch of tests on a server that is running and listening for HTTP requests:
>
> Jenkins Job: runs an ant target - "ant run-server". Server starts up on a jenkins slave and waits for requests. On this same slave I need to run the target "ant run-tests" that will run the tests against the server that started up. How does one achieve this considering that the job that builds and runs the server doesn't actually complete?- so there's no "Build Successful" before a post build testing task can be carried out on it.
>
> ~P
>
>
Loading...