On 31/01/2011, at 11:51 PM, Mikael Andersson wrote:

> i I've been trying to configure a build to set and use the failure property. 
> I'd like to use it to add a print statement which our ci tool will pick up 
> on. I have the ignore failures property set to true in case that has an 
> impact.
> 

The checkstyle task does not expose any way to determine if the checks 
succeeded or failed. Could you add a jira issue for this?

In the meantime, you could parse the checkstyle xml report, or potentially use 
the Ant checkstyle task instead of the Gradle one.


--
Adam Murdoch
Gradle Developer
http://www.gradle.org
CTO, Gradle Inc. - Gradle Training, Support, Consulting
http://www.gradle.biz

Reply via email to