Parallel jobs and HTML Publisher plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Parallel jobs and HTML Publisher plugin

Ann B
I've converted a freestyle job that used the DynamicAxis Plugin to execute multiple functional tests at the same time.

I ported using this approach - https://github.com/jenkinsci/pipeline-plugin/blob/master/TUTORIAL.md#creating-multiple-threads and this https://support.cloudbees.com/hc/en-us/articles/115000088431-Create-a-Matrix-like-flow-with-Pipeline

The job works well.  The part I am having a problem with is tying a published HTML report with a given test run.  In the freestyle / matrix job, you drill into each test run and see the 'HTML Report' link in the left nav that was created from the specific test run.

Since the parallel pipeline approach does not provide a link to the 'Configuration' run like the freestyle / matrix job (see screenshot), I'm not sure how to get a similar UX:



I suppose I could use the Summary Display Plugin and attempt to manage the HTML Report run from each test job.

Suggestions appreciated!

Ann

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7fc6ab26-21a1-4e5e-a67f-f0d4462b0a66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Parallel jobs and HTML Publisher plugin

Ann B
I found a way around this issue.

I'm only executing publishHTML when an error occurs and am giving the HTML Report link in the left nav a unique value (including the test name) so that each test failure has a link to the HTML artifacts.

Ann

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/46bd2546-c632-4183-9e1b-13cc1e6a214e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.