Configuring the Freestyle project by using the Integration Tester Jenkins Plugin to manage stubs
After you install the Integration Tester Jenkins Plugin on the Jenkins server, you can configure the Jenkins Freestyle project environment to manage the Integration Tester stubs as a Jenkins build.
Before you begin
You must have completed the following tasks:
- Installed the Integration Tester Jenkins Plugin. See Setting up the integration with Jenkins.
- Created an Agent in Jenkins.
- Created a Freestyle project in Jenkins.
Procedure
- Open the Jenkins Freestyle project on the Jenkins Dashboard, and then click Configure.
- Click the Build Steps tab, and then click Add build step.
- Select Manage Integration Tester Stubs.
-
Enter values for the following fields:
Field Value Control Panel URL Enter the URL of the Control Panel server. For example, http://server:port/RTCP/. Stub ID(s) Enter the managed stub ID. To specify multiple stub IDs, separate them with semicolons (for example: stub1 ID;stub2 ID;stub3 ID). Authentication Token Enter the Control Panel authentication token prefixed with P:. Trust all SSL certificates Select this option if you want to trust all SSL certificates, including self-signed certificates. Start Stub(s) Select this option if you want Jenkins to start the specified stub(s). Stop Stub(s) Select this option if you want Jenkins to start the specified stub(s). - Click Save.
- Click Apply to confirm the configuration changes.
Results
You have configured the Freestyle project to manage stubs by adding the build step.
What to do next
You can run test assets from the Jenkins server. See Managing stubs on Jenkins.