Sounds like this is what you need:

This plugin lets you search keywords in the files you specified and/or the 
console, and use that to downgrade a "successful" build to be unstable or a 
failure.
https://wiki.jenkins-ci.org/display/JENKINS/Text-finder+Plugin



On Tuesday, 26 March 2013 06:05:27 UTC, zw wrote:
>
> Hi All 
>
> How do we intentionally fail a job run in Post build task in the 
> script section after the condition passed ? 
> ie how do we report back to the job that we should fail the run since 
> we found a text in the log ? 
>
> Thanks all. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to