Cruisecontrol Test Results with Maven

Today I finally figured out how to integrate the results of JUnit tests run via the Maven surefire plugin with the Test Results tab in CruiseControl. It was actually blindingly simple, however, I couldn’t seem to find a straight-forward explanation anywhere.

By default, the Surefire plugin dumps the JUnit XML logs into the target/surefire-reports directory. For the results to show on the Test Results tab, these log files simply need to be merged into the Cruisecontrol log. This is accomplished via a merge element in the log section of the Cruisecontrol config.xml file:


2 Comments so far

  1. Sathya on September 2nd, 2011

    how to view jmeter reports in cruise control reports tab.please give some ideas.i tried different way.but i didn’t get output.Anyone help me

  2. andrew on December 6th, 2011

    I don’t have personal experience with integrating a JMeter report into CruiseControl, but this InfoQ article [] seems to have some details. Let us know if you figure it out!

Leave a Reply