# Getting test results from pipeline without JUnit postbild step

**URL:** <https://community.jenkins.io/t/getting-test-results-from-pipeline-without-junit-postbild-step/1802>\
**Category:** Ask a question\
**Created:** [March 14, 2022, 7:06pm UTC](https://community.jenkins.io/t/getting-test-results-from-pipeline-without-junit-postbild-step/1802 "2022-03-14T19:06:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rebse](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@Rebse](https://community.jenkins.io/u/Rebse)\
**Post date:** [March 14, 2022, 7:06pm UTC](https://community.jenkins.io/t/getting-test-results-from-pipeline-without-junit-postbild-step/1802/1 "2022-03-14T19:06:36Z")

</div>

Hi,

a generic Maven multibranch pipeline should gather statistics about test results (surefire, jacoco …).  
This pipeline has the stages = checkout, mvn build, Sonarqube scan, NexusIQ scan, publish.  
Is there another way beside getting the metrics from Sonarqube or parsing the jenkins pipeline log ?

Gilbert

---

<div class="post-metadata">

**Author:** ![halkeye](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/halkeye/32/8_2.png) [@halkeye](https://community.jenkins.io/u/halkeye)\
**Post date:** [March 15, 2022, 12:15am UTC](https://community.jenkins.io/t/getting-test-results-from-pipeline-without-junit-postbild-step/1802/2 "2022-03-15T00:15:50Z")

</div>

> [@Rebse](#):
>
> Is there another way beside getting the metrics from Sonarqube or parsing the jenkins pipeline log ?

so without hitting sonarqube api? and without looking at jenkins pipeline log? and without using [JUnit Plugin](https://www.jenkins.io/doc/pipeline/steps/junit/)? Thats a lot of without without any indication what isn’t right about those solutions.

You could archive the .txt or .xml files that junit outputs.
