Hi, > there is a way to mark the build as failed?
You could throw a (groovy) exception Regards, Christoph > From: Stefano Cognigni <[email protected]> > To: [email protected], > Date: 05.12.2016 09:18 > Subject: Re: Conditional BuildStep Plugin don't fail the build > Sent by: [email protected] > > there is a way to mark the build as failed? > > Il 03/12/2016 01:10, Daniel Beck ha scritto: > > 'on evaluation failure' means 'when the regex is invalid'. It's > not "when it doesn't match". > > > >> On 02.12.2016, at 09:44, Stefano <[email protected]> wrote: > >> > >> Hello, i have a problem with Conditional BuildStep Plugin, i have > set the regex matching rules and work, but if i chose "On evaluation > failure" "Fail the build" or "Mark the build unstable", the build > stop and is marked as "SUCCESS"....instead of a red ball i have a blue ball > >> > >> -- > >> 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/72854815-bd34-44a7- > a69d-9722da49c361%40googlegroups.com. > >> For more options, visit https://groups.google.com/d/optout. > > > > -- > 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/bbf48f3a-b42e-9eb1-186c-23a05bbc7c71%40gmail.com. > For more options, visit https://groups.google.com/d/optout. This Email was scanned by Sophos Anti Virus -- 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/OF85C722B4.7F4CB402-ONC1258080.002EC6B7-C1258080.002ECE38%40lex-com.net. For more options, visit https://groups.google.com/d/optout.
