Alter the cruisecontrol log with XSLTLogPublisher
Posted
by daramarak
on Stack Overflow
See other posts from Stack Overflow
or by daramarak
Published on 2010-02-18T12:10:31Z
Indexed on
2010/05/18
8:40 UTC
Read the original article
Hit count: 297
We build our project from CruiseControl. We have a ant script running some exec commands, and the output of this is placed in the CDATA part of that message, and its priority is set to "info".
Now I have created an XSL that modifies this priority depending on the CDATA output, so it creates a new logfile that I want CruiseControl to use.
I tried to do this by using XSLTLogPublisher tag like this
<xsltlogpublisher directory="${log.dir}" outfile="${logname}" xslfile="${transform}" />
But it doesn't seem to work. No error is logged from cruisecontrol no changes are done in the log file, might it be that cruisecontrol have problems transforming its own log, or are the publishers invoked after the actual log is published as a web page?
Can anyone provide some sort of solution to my problem?
© Stack Overflow or respective owner