HCL OneTest API and Jenkins

When you use Jenkins for the continuous integration (CI) of your application, you can run tests for testing your application. You can run tests created in HCL OneTest API for your application in Jenkins by using the Integration Tester Jenkins Plugin.

Task Flow: Basic scenario with the Integration Tester Jenkins Plugin

You can complete the integration of the Integration Tester Jenkins Plugin with Jenkins and run the tests in the Jenkins build by performing the tasks as listed in the following table. The table also provides you the links to the information about the tasks.

Task More Information
1

Install HCL OneTest API or HCL OneTest API Agent on the same computer where you have installed Jenkins.

Jenkins server https://jenkins.io/download/
2

Create tests for your application.

HCL OneTest API Creating and running a test
3

Generate a Jenkins project configuration file for the test.

HCL OneTest API Generating a Jenkins project configuration file for running tests or suites
4 Extract and copy the latest compressed file of the Integration Tester Jenkins Plugin. HCL Quality Server Setting up the integration with Jenkins
5 Setting up the integration with Jenkins. Jenkins server Setting up the integration with Jenkins
6 Set up the build for running HCL OneTest API tests by using the Jenkins plugin. Jenkins server Setting up the integration with Jenkins
7 Run builds by using the Ant script from HCL OneTest API. Jenkins server Configuring a Jenkins environment for running tests
8 Configure a Jenkins environment to view test results. Jenkins server Configuring a Jenkins environment for viewing test results
9 View results of the test run Jenkins server Viewing test results in Jenkins