Configuring the Jenkins environment for running tests
If your Jenkins environment has the Rational Integration Tester Test Execution plug-in installed,
you can use it to run tests without the need for Apache Ant. Use of the plug-in can provide improved
test execution shutdown if a job is aborted. Alternatively, you can use the Ant plug-in to run an
Ant script that will in turn run the tests.
Before you begin
- If you use Rational Integration Tester Test Execution plug-in to run tests, ensure that you install it by following the procedure described in Setting up the integration with Jenkins.
- If you use Apache Ant to run tests, generate an Ant script by using Rational® Integration Tester. For more information, see Generating Ant scripts to run tests.
Running tests by using the Rational Integration Tester Test Execution plug-in
Procedure
Running tests by using the Ant plug-in
Procedure
- On the Jenkins dashboard, create a new project or modify an existing project.
- On the Project page, click Configure.
- Under Build, click Add build step.
- Select Invoke Ant.
- Click Advanced.
- In the Build File field, enter the location of the Apache Ant script that was generated by Rational Integration Tester.
- Click Save.