To run
Silk4J tests from a continuous integration server, the following infrastructure is required:
To replay functional tests from a CI server:
-
In
Silk Central, retrieve the project ID and the execution plan ID of any execution plan that you want to run from the CI server.
-
Select
.
-
In the
Execution Plans tree, select the project that contains the execution.
The
Project ID is displayed in the
Properties pane of the project.
-
In the
Execution Plans tree, select the execution plan.
The
Execution Plan ID is displayed in the
Properties pane of the execution plan.
-
Install the
SCTMExecutor plugin on the CI server.
This plugin connects the CI server to your
Silk Central server.
-
Configure the
SCTMExecutor plugin:
-
On Jenkins, navigate to the
Silk Central Test Manager Configuration configuration in the global Jenkins configuration page.
-
Type the address of the
Silk Central service into the
Service URL field.
For example, if the server name is
sctm-server, type
http://sctm-server:19120/services.
-
Extend your CI build job.
-
On Jenkins, select
Silk Central Test Manager Execution from the
Add build step list.
-
Type the ID of the execution plan into the
Execution Plan ID field.
You can execute an arbitrary number of execution plans by separating the IDs with a comma.
-
Type the project ID of the
Silk Central project into the
SCTM Project ID field.
Whenever your CI build job is executed, it also triggers the execution of the specified
Silk Central execution plans.