To create a build information file:
-
On the application server, navigate to:
C:\ProgramData\SilkCentral\instance_<instance number>_<instance name>\BuildInfos.
-
Create a build info file for your project based on the template file
BuildInfoExample.xml. The template file contains the following code:
<?xml version="1.0" encoding="utf-8"?>
<ProjectBuildInfo>
<BuildEntryList>
<BuildEntry name="Demo Product">
<Version>3.1</Version>
<BuildNr>350</BuildNr>
</BuildEntry>
<BuildEntry name="Product2">
<Version>4.2</Version>
<BuildNr>613</BuildNr>
</BuildEntry>
</BuildEntryList>
</ProjectBuildInfo>
Note: An element called
BuildEntryList contains a list of
BuildEntry elements.
BuildEntry tags refer to specific products that are defined by the name attribute of
BuildEntry elements.
-
Modify the file content to fit your environment.
- Version
- The number of the version that is currently available for testing. The number is not necessarily the same for each execution
server.
- BuildNr
- The number of the build that is currently available for testing. The number is not necessarily the same for each execution
server.
-
Optional: If you require specific execution servers to use different version and build information, distribute the modified build information
file to the execution server(s) at
C:\ProgramData\SilkCentral\BuildInfos. For Linux execution servers, the file needs to be stored in the in the sub-folder
ExecServerData of the directory from which the execution server is started.
-
Once you have created the build information files, you must specify the file name in the settings of the corresponding project.
Click
to view the list of projects assigned to you. Select the project to which you want to link the build information.
in the sub-folder ExecServerData of the current directory
Note: This must be done before the scheduling of any tests for the project. Otherwise previously scheduled tests will not be updated.
-
Click the
Project Settings tab.
-
Click
Edit to edit the project settings of the selected project.
The
Edit Project Settings dialog box opens.
-
Specify the name of the previously created XML file in the
Build information file name field.
-
Click
OK to update the information. With all future test executions,
Silk Central will read build information from the corresponding file and match test results with that information.