Skip to main content

Tuning CI tool

How to provide parameters via system variables in the CI tool (for example - Jenkins) for our continuous testing platform.

In order to provide specific parameters (Such as attributes) for different executions that are based on the parameters loading order, you can provide them as system variables.

To do so, follow the steps below:

  1. Open the Job configuration in Jenkins.
  1. Select the "This build is parameterized" check-box.

  2. Click the "Add Parameter" and select "Text Parameter".

  1. Define any name for the parameter and set the default value (note that attributes should have semicolon-separated values, with no spaces).
  1. Update the execution command at the "Build" section: add ReportPortal parameters using –D for a system variable parameters. For attributes it is "rp.tags":
  1. Click the "Build with Parameters" button.
  1. In the opened dialog, specify the needed parameters, using semicolons to separate values.
  1. Then Click the "Build" button.