Cruise control email : Having custom message on the subject line

pallavi shashidhar <[email protected]>
Newsgroups gmane.comp.java.cruise-control.user
Message-ID <[email protected]>
Hi there,
I am using Cruise control 2.8.2. and there are certain things that needs
customization:
I am using CI to run the watir based scripts on cruise control. Have
installed Ruby 1.8.6 and watir 1.6.2 along with CC on my regression server.
After running all the tests, i get one result xml and that gets merged with
the cc logfile. The test results are published via email.

1) I am using email publisher and it goes this way:
<publishers>
                <email
                mailhost="192.168.1.41"
                mailport="25"
                subjectprefix="[Regression_CruiseControl]"
                buildresultsurl= "
http://192.168.1.41:9090/cruisecontrol/buildresults/ERP_regression?tab=testResults"

                returnaddress="[email protected]">
                <failure address="[email protected]" />
                <success address="[email protected]" />
                </email>
</publishers>
The subject line in the email will be something like this:
[Regression_CruiseControl] ERP_regression build.52 Build SuccessfulInspite
of some of the tests failing.
Is there a way out to check if there are any errors and then report : One or
few tests failed?

2) The Test results xml will show that in one testsuite, there are say 4
testcases, 2 passed and 3 errors/failures. Is there any way i can present
this data also on buildresults page?
The Build results page displays all errors first and then the success
messages last. So for one module if i have 2 failures and 2 success then it
displays the module twice:
Once with errors and other with successful testcases.
Can i have them both(errors and successful testcases) listed together under
the module?

Any help regarding this would be appreciated.

Regards,
Pallavi

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.