jenkinsci / report-jtreg-plugin

Jenkins plugin to show JCK reports
https://plugins.jenkins.io/report-jtreg/
MIT License
1 stars 13 forks source link

Showing the build's properties when printing table #23

Closed patrikcerbak closed 5 months ago

patrikcerbak commented 5 months ago

Showing the build's properties when printing table

When using the --compare or --virtual switch, now it not only shows the job name and build number, but also every property of this job (the stuff set with --build-config-find or --job-config-find). The "result" property is set by default, so it will be always shown.

Example in plain formatting:

20) reproducers~regular-jp11-ojdk11~rpms-f36.x86_64-release.sdk-f36.x86_64.testfarm-x11.defaultgc.defaultcp.lnxagent.jfroff - build:63
                result : UNSTABLE
                version : 11
21) tck-jp17-ojdk17~rpms-el8.aarch64-fastdebug.sdk-el8.aarch64.beaker-x11.defaultgc.fips.lnxagent.jfroff - build:14
                result : UNSTABLE
                version : 17
22) tck-jp17-ojdk17~rpms-el8.aarch64-fastdebug.sdk-el8.aarch64.beaker-x11.defaultgc.fips.lnxagent.jfroff - build:16
                result : UNSTABLE
                version : 17

Example in HTML formatting (clickable with the <details> and <summary> elements): Screenshot from 2024-03-13 14-06-24

judovana commented 5 months ago

version : 17 ? Shouldnt it be some version : 17.0.1.5-something? (aka NVR?)

judovana commented 5 months ago

Also idea - I would not bother with collapsable element. Just imageine you have 100 of the jobs in comaprison. Yo do not wan to click on all them.

Maybe show/hide all button? Or cmdline switch to show them expanded/collapsed?

patrikcerbak commented 5 months ago

version : 17 ? Shouldnt it be some version : 17.0.1.5-something? (aka NVR?)

That's just my random config file I created (and not deleted yet) for testing purposes, its not from any job/build :)

patrikcerbak commented 5 months ago

Also idea - I would not bother with collapsable element. Just imageine you have 100 of the jobs in comaprison. Yo do not wan to click on all them.

Maybe show/hide all button? Or cmdline switch to show them expanded/collapsed?

Ok, I will add a button to the html

patrikcerbak commented 5 months ago

Also idea - I would not bother with collapsable element. Just imageine you have 100 of the jobs in comaprison. Yo do not wan to click on all them. Maybe show/hide all button? Or cmdline switch to show them expanded/collapsed?

Ok, I will add a button to the html

It is done now.

judovana commented 5 months ago

version : 17 ? Shouldnt it be some version : 17.0.1.5-something? (aka NVR?)

That's just my random config file I created (and not deleted yet) for testing purposes, its not from any job/build :)

yy, I was hoping for that.