Hi,

I haven't got any help from the CC-user mailing list so I thought I'd try here as it is Maven related. I have Cruise Control building a Maven-based project regularly. Here's the <maven> element I'm using:

<maven mavenscript="PATH\\TO\\maven.bat"
       projectfile="checkout/trunk/project.xml"
       goal="scm:update site" />

This is a Subversion repository. What I'd like is to have Maven log it's output (from compilation and testing) that is currently going to the console to be saved the log that CruiseControl would then display as build result from the JSP page.

So, here are my questions:
1) How do I get Maven to log this output?
2) Which log file should be specified the CC knows is the build output?

Also, Maven is automatically running our JUnit tests and putting the output in target/test-reports. The output is one .xml and one .txt file for each test case. I have the following in CC's config.xml:

    <log dir="logs/trunk">
      <merge dir="checkout/trunk/target/test-reports/"/>
    </log>

but clicking the "Test Results" tab when looking at CC's JSP results dispays nothing. What do I need to get the unit test results to show up in CC?

Thanks much,
Guy


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to