konflux-ci / qe-tools

Contains various useful commands for processing test data
Apache License 2.0
0 stars 9 forks source link

feat: command for creating html/junit report #10

Closed psturc closed 10 months ago

psturc commented 10 months ago

RHTAP-1851

To validate locally:

# get prow job id from some recent prow job (https://prow.ci.openshift.org/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-redhat-appstudio-infra-deployments-main-appstudio-e2e-tests)
export PROW_JOB_ID=<ID>
make build
./qe-tools prowjob create-report
# also should work with parameter, which overrides the env var, i.e.
./qe-tools prowjob create-report --prow-job-id=<ID>
# after the command is finished, check the xml/html report (the path to the report should be printed out in the console output)
psturc commented 10 months ago

here's a result of a validation done via openshift-ci (click junit-summary.html above the "JUnit" section on the prow page)

cc @srivickynesh