The best way would be to use Conditional Build Step plugin, which sets the 
status using "Fail the build" plugin

среда, 8 июля 2015 г., 18:57:37 UTC+3 пользователь Jakub Czaplicki написал:
>
>
> I would like to be able to set a build status to "Not built" or "Aborted" 
> when a certain failure occur (specific string in a log I suppose).
>
> For instance when a infrastructure failure occurs: "failed receiving gdi 
> request response for mid=2 (got syncron message receive timeout error).".
>
> Ideally, in such case, email notification should only be sent to Jenkins 
> admin/Test team rather than individuals who commited the change that 
> triggered Jenkins.
>
> What would be the best way to approach this ?
>
> Many Thanks,
> Jakub
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/00199e52-dc35-4d67-b766-0a33ecf8e7e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to