You can use fail the build plugin.

On Tue, Mar 26, 2013 at 2:05 PM, Z W <[email protected]> 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.
>
>
>

-- 
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