To my knowledge, the Downstream Test Results Aggregate function does not work as expected (and it’s very difficult to find useful documentation). I would like to achieve very similar functions:
Build runs T1, T2 jobs in parallel (where T1 does FindBugs, T2 does PMD).
Scenario 1: Once T1 and T2 are finished (which I can achieve with the "Join" plugin), I want to collect artifacts (T1 / findbugs.xml and T2 / pmd.xml). Then they are analyzed and good statistics are generated.
Scenario 2 (I prefer): Similar to scenario 1, but the analysis is performed as part of T1 and T2 (in parallel!). Once T1 and T2 are completed, the analysis results are combined into good statistics.
My questions: For scenario 1, I do not know how to reference the downstream projects T1 and T2. I could use the last successful build, but that seems weird when considering many concurrent jobs.
In scenario 2, I have no idea how to import the data needed for the FindBugs / PMD / Checkstyle / SLOCcount / ... plugins so that the corresponding graphs (also?) Appear outside of T1 / * T2 *.
Thanks Karsten
C-otto
source share