I am running an external groovy script through cruisecontrol, which basically works. My problem is that if the groovy script fails, I only get the โerror string foundโ in my webapp cruise and email; its not even in the log files. The groovy script writes the output to stdout and to the log file. How can I display the output of an external script in cruisecontrol logs?
<project name="proj">
<schedule>
<exec workingdir="/myscripts/folder"
command="//bin/groovy"
args="build.groovy -p ${project.name}.properties"
errorstr="Exception"/>
</schedule>
</project>
source
share