CruiseControl: How to read logs from exec task
Posted
by Marty
on Stack Overflow
See other posts from Stack Overflow
or by Marty
Published on 2010-01-14T09:37:02Z
Indexed on
2010/04/27
8:53 UTC
Read the original article
Hit count: 438
I start an external groovy script via cruisecontrol, which basically works. My problem is that if the groovy script fails I only get the "error string found" in my cruise webapp and email; its even not in the log files. The groovy script writes it output to stdout and to a logfile. How it is possible to display the output of an external script in the cruisecontrol logs?
<project name="proj">
<schedule>
<exec workingdir="/myscripts/folder"
command="//bin/groovy"
args="build.groovy -p ${project.name}.properties"
errorstr="Exception"/>
</schedule>
</project>
© Stack Overflow or respective owner