-
Task
-
Resolution: Unresolved
-
Major
-
None
-
None
-
False
-
-
False
-
subs-swatch-lightning
-
-
After running the Data Router test report upload, I would like to see as part of the output of this task, a link to the Report Portal to see the results there.
Data Router request get functionality can be leveraged.
E.g.
./droute request get <REPORT_UPLOAD_ID> --username=smqe-datarouter --password=<DATA_ROUTER_PASSWORD> --url=https://datarouter.dno.corp.redhat.com
Here an example of response:
--- request: f10d0c21-b607-41d4-b8d2-2fe2d811873b status: OK targets: - name: reportportal status: OK events: - component: tfacon-connector status: OK message: 'RequestID f10d0c21-b607-41d4-b8d2-2fe2d811873b: TFA not applied; syncRPToPolarion executed for 1 launch(es).' - component: reportportal-connector status: OK message: |- [ { "launch_id": 346657, "launch_name": "swatch-producer-azure component tests", "launch_url": "https://reportportal-smqe.apps.dno.ocp-hub.prod.psi.redhat.com/ui/#SUBSCRIPTION_WATCH/launches/all/346657", "launch_uuid": "1048d255-9133-4b52-927b-9a2c2f27fc8a" } ] - component: reportportal-testitem-updater status: OK message: "" - component: reportportal-processor status: OK message: ""
We want to display the value of
launch_url
Acceptance Criteria:
- On success, the send results task should print a log statement with a link to the report portal with the results.