build-monitor-plugin icon indicating copy to clipboard operation
build-monitor-plugin copied to clipboard

Show real-time test results

Open johnny-the-coder opened this issue 6 years ago • 3 comments
trafficstars

I would be great if on the Status Monitor View an information from Junit Realtime Test Reporter Plugin (https://jenkins.io/doc/pipeline/steps/junit-realtime-test-reporter/) would be shown. So it would be possible to see live status of test execution.

johnny-the-coder avatar Aug 06 '19 10:08 johnny-the-coder

See my PR #377 , but it requires a modified version of the junit realtime plugin for it to work. Cloudbees is not so great with accepting PRs, so it might take a long time.

But you can build both plugin manually, that's what i've done and have been running them for months now. My branch my be a bit behind though.

dcendents avatar Aug 13 '19 18:08 dcendents

Thanks. What do exactly mean by "it requires a modified version of the junit realtime plugin"?

johnny-the-coder avatar Aug 14 '19 07:08 johnny-the-coder

Sorry I can see I wasn't clear.

I've submitted a pull request for the junit realtime plugin to add a progress bar: https://github.com/jenkinsci/junit-realtime-test-reporter-plugin/pull/9

It works but it requires a manual refresh of the page to get updated results.

My PR #377 is based on that version and since the build monitor plugin uses angularjs, the integration is much better, the progress bar is updated automatically.

To test it, build and install my PRs for the junit realtime and build monitor plugins.

If you like it, comment on the JIRA issue to try and get it accepted: https://issues.jenkins-ci.org/browse/JENKINS-50048

dcendents avatar Aug 18 '19 20:08 dcendents