Is it possible to compare the test results with two non-sequential tasks in jenkins?

I want to compare the test results of two jobs in jenkins. in my case, these tasks are not sequential, so regular tests show that viewing the task is not good enough.
Is there any way to get this view? or is it possible to write such a plugin yourself?

+6
source share
2 answers

I have a similar, although not quite the same setting. In your circumstances, what I am doing will work as follows: job A stores the test results (say junit xml) with the key of its build identifier and runs C through Parameterized Trigger Plugin , passing it the location of the test results. Job C can then either simply post these tests or do some extra processing. Job B does the same as job A, with regard to his tests and getting started with C. Then all your results are aggregated in job C.

Additional processing, in which task C may include saving test results A to a temporary location, and then processing them later with the results of task B. This is not automatic, but still much easier than writing a completely new plug-in. You can also configure it with any way.

+1
source

You can do this visually using the Plugin for analyzing test results . In the section "Analyzer of test results"> "Options" you can choose more than the last 10 assemblies or all assemblies. You can expand the Red Green Yellow Yellow table for each test result so that you can see trends in the history of tests, as well as check the results on individual tasks.

0
source

Source: https://habr.com/ru/post/904079/


All Articles