Re: Conditional BuildStep Plugin don't fail the build

2016-12-05 Thread jerome
you can use direct assigantion to currentBuild result variable: currentBuild.result = 'FAILURE' avaiable value are (not sure I got them all): 'UNSTABLE', 'SUCCESS', 'FAILURE', 'ABORTED', 'NOT_BUILT' -- You received this message because you are subscribed to the Google Groups "Jenkins Users" g

Re: Conditional BuildStep Plugin don't fail the build

2016-12-05 Thread Christoph Nenning
Hi, > there is a way to mark the build as failed? You could throw a (groovy) exception Regards, Christoph > From: Stefano Cognigni > To: jenkinsci-users@googlegroups.com, > Date: 05.12.2016 09:18 > Subject: Re: Conditional BuildStep Plugin don't fail the build > S

Re: Conditional BuildStep Plugin don't fail the build

2016-12-05 Thread Stefano Cognigni
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 wrote: Hello, i have a problem with Conditional BuildStep Plugin, i have set

Re: Conditional BuildStep Plugin don't fail the build

2016-12-02 Thread Daniel Beck
'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 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 >

Conditional BuildStep Plugin don't fail the build

2016-12-02 Thread Stefano
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