I think you would have to set this up in a script and just call the script from Jenkins. Especially if you need to perform a clean-up action if one step fails. It could be a shell script, or you could look into Workflow.

Regards,
Eric

On 6/5/2015 6:57 AM, Rohit Sharma wrote:
Hi

I tried the conditional build step plugin but it is not marking the build as failure if the condition got failed.

Thanks
Rohit

On Thursday, 4 June 2015 21:11:32 UTC+5:30, Rohit Sharma wrote:

    Hi

    I need ti run multiple build steps in  a single job on condition
    basis i.e. if the first build step fails or if there is some error
    in first build step then the changes should be rolled back. Is
    this possible with any plugin in jenkins.

    Thanks

--
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 <mailto:jenkinsci-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/7515b62a-23ac-4254-bc26-056a67cae094%40googlegroups.com <https://groups.google.com/d/msgid/jenkinsci-users/7515b62a-23ac-4254-bc26-056a67cae094%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/5571BAD3.70304%40cd-adapco.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to