Report portal
The reportportal role uses Data Router tool for uploading XML test results to Report portal. Access to the specific Report portal instance including URL and credentials has to be specified via Data router web interface.
Parameters
cifmw_reportportal_basedir: (String) Base directory. Defaults tocifmw_basedirwhich defaults to~/ci-framework-data.cifmw_reportportal_datarouter_url: (String) URL with running Data router service (mandatory).cifmw_reportportal_droute_client_url: (String) URL of Data router client repository (mandatory).cifmw_reportportal_datarouter_username: (String) username for Data router client (mandatory).cifmw_reportportal_datarouter_password: (String) password for Data router client (mandatory).cifmw_reportportal_datarouter_result_dir: (String) Test results directory. Based oncifmw_run_test_roledefaults to~/ci-framework-data/tests/tempest/or~/ci-framework-data/tests/test_operator/. One or more properly formatted xml results files are expected to be found in this directory.cifmw_reportportal_project: (String) Report portal project for uploading results (mandatory).cifmw_reportportal_launch_name: (String) Name of the Report portal launch defaults toDummy launch.cifmw_reportportal_launch_description: (String) Description of the Report portal launch defaults toTest results sent via Data router.cifmw_reportportal_droute_version: (String) Data router client version defaults to1.2.1.cifmw_reportportal_droute_binary: (String) Data router binary name defaults todroute-linux-amd64.
Examples
- name: Play
hosts: localhost
vars:
cifmw_reportportal_droute_client_url: "https://example.com/data_router_client"
cifmw_reportportal_datarouter_url: "https://data-router.example.service.com"
cifmw_reportportal_datarouter_username: "<username>"
cifmw_reportportal_datarouter_password: "<password>"
cifmw_reportportal_project: "Example"
roles:
- reportportal
Note
This role exclusively relies on the internal Report portal and Data router instances and other internal repositories.