​Can you provide code snippet or can you explain bit more about how to use and where to specify...
Regards, Panikera On Mon, Nov 10, 2014 at 7:08 PM, Ginga, Dick <[email protected]> wrote: > You can certainly do it with the Build Flow (DSL) plugin > > > > *From:* [email protected] [mailto: > [email protected]] *On Behalf Of *Panikera Raj > *Sent:* Monday, November 10, 2014 8:36 AM > *To:* [email protected] > *Subject:* Fwd: Stop the execution if First task is failed even if > multiple tasks are added to the project > > > > > > Hi All, > > I have a project in Jenkins (as free style project) where I have added > multiple tasks as an attachment. As I showed in attachment in first task > condition is not satisfied I need to come out from the execution I don't > want to execute second task. > > I can put *exit 1*. But If condition is not matched project will get > marked as Failure and mail will go to every one. So if put just *exit 0.* > It will come out from the first task then once again second task will > execute. I don't want to be execute like this. > > Is there a way where if first task not satisfied condition we can come out > from complete execution(with out executing second task) > > > Regards, > Panikera > > > > > > -- > 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/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]. > > 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]. For more options, visit https://groups.google.com/d/optout.
