Hi, there has been a longstanding ticket on JIRA relating to marking of Grails builds as UNSTABLE instead of FAILED when there are failing tests.
One stumbling block is that Grails returns exit code of 1 whatever the reason for an unsuccessful build. There is a JIRA filed for this (http://jira.grails.org/browse/GRAILS-9481) and hopefully it will be fixed in the future... but probably not soon, and not for older Grails releases. In these cases, the obvious fix would seem to be intercepting the output from the build job and parsing this text to see if the tests are marked as PASSED or FAILED (this is discussed on the JIRA ticket). Can anyone give me some pointers, specifically: * would this be an acceptable approach? * if so, what is the best way to capture this output? * if this did get fixed, what's the best way to share code? (I notice there is a 3 month old pull request open on github, so perhaps this is not the best way (https://github.com/jenkinsci/grails-plugin/pulls)) Thanks, Alex