konflux-ci / qe-tools

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

feat: add report-portal-format option #37

Closed tnevrlka closed 9 months ago

tnevrlka commented 9 months ago

Jira issue: RHTAP-1526

This PR adds a new command prepare-rp which makes changes to a provided file created by ./qe-tools prowjob create-report so it can be uploaded to Report Portal. (Please see RHTAP-1902 for more details)

Usage: ./qe-tools prepare-rp --report-path junit.xml --out-path your-path-here.xml

This PR adds a new optional command line option --report-portal-format to the already existing create-report command. That creates a new file junit-rp.xml in the artifacts directory.

Usage: ./qe-tools prowjob create-report --report-portal-format

psturc commented 9 months ago

Code changes look good to me.

I haven't think about adding this as an option to the create-report command as @Dannyb48 mentioned. It seems like a good idea.

@tnevrlka Does it sound ok to you?

tnevrlka commented 9 months ago

Yeah, that's a great suggestion, will do.

sonarcloud[bot] commented 9 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud