Configuring Jetty for integration tests
Jenkins plugins that keep a history of tests are normally consumers of the data generated within Maven builds. For Maven to automatically run integration, performance, or functional tests, it will need to hit a live test server. You have two main choices:
- Deploy your artifacts, such as
.warfiles, to a live server. You can do this using the
Maven-wagonplugin (http://mojo.codehaus.org/wagon-maven-plugin/), or through a Jenkins plugin, such as an aptly named deploy plugin (https://wiki.jenkins-ci.org/display/JENKINS/Deploy+Plugin).
- Run the lightweight Jetty server within the build. This simplifies your infrastructure. However, the server will be run as part of a Jenkins Job, consuming the potentially scarce ...