Hi,

There's no such concept in pipeline.

As Jesse explained: "the idea is that a Pipeline script is just a script:
it runs the stuff you specified if and when you want it to. Whereas plugins
contributing options to freestyle projects hardcode a lot of logic about
when and whether something will happen, or make it a GUI configuration
option, a Pipeline script is expected to define its own logic. We can
always add convenience methods and DSLs on top of that for common usage
patterns."

In your case, to do something on failure, you would typically use a
try/catch/finally block.

If you are more specific on what you're trying to achieve, we might be able
to help you more.

Cheers
Le 5 mai 2016 5:56 PM, "Mike Caspar" <mikecanbefo...@gmail.com> a écrit :

> Hi there,
>
> I am converting a series of jobs to pipeline jobs.
>
> I am not having any luck in finding the post-action stage  or finding a
> way to do this.
>
> a 'step' isn't appropriate to the situation (as it won't trigger on
> failed).
>
> If someone knows the answer to this, I would be happy to go over to the
> docs and update once I get this working.
>
> Ideas?
>
>
>
>
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/8b403f7e-a245-4e47-bd8f-185b5094d71a%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/8b403f7e-a245-4e47-bd8f-185b5094d71a%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS6Y%2BdXKsAU2_0tTommH-DLjqDa1h8NGx%2B_1wRycW3odVQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to