title: Integration tests in Jenkins
body: <p>I want to do some integrations tests with Selenium on my Java web application. I have set up Jenkins to build currently using Ant script.</p>
  
  <p>As I understand it, the web application must be built, packaged and deployed to a running server before it can be tested with Selenium webdriver (on localhost). When I do this locally it works fine. But on my Jenkins machine I need to start another server other then the one Jenkins run on in order to deploy the war file there and then run the tests right? The problem is that deployment is a post-build action and I can't run any tests after that, or can I?</p>