You must add the Any Build Step plugin which lets you run any Build step as a 
Post build step.


  *   Use publishers as a Build Step (via the Conditional BuildStep 
Plugin<https://wiki.jenkins-ci.org/display/JENKINS/Conditional+BuildStep+Plugin>)
  *   Use builders during the Post-build Actions (via the Flexible Publish 
Plugin<https://wiki.jenkins-ci.org/display/JENKINS/Flexible+Publish+Plugin>)
  *   Adds a global configuration option for the Flexible Publish and 
Conditional BuildStep Plugins to enable all build steps to be made available to 
them.

One of the conditions is “Current Build Status”

From: jenkinsci-users@googlegroups.com 
[mailto:jenkinsci-users@googlegroups.com] On Behalf Of Rohit Sharma
Sent: Thursday, June 04, 2015 11:42 AM
To: jenkinsci-users@googlegroups.com
Subject: Running multiple build steps in a single job

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/68b7c947-8417-4d12-a5b2-a4644a9c9de7%40googlegroups.com<https://groups.google.com/d/msgid/jenkinsci-users/68b7c947-8417-4d12-a5b2-a4644a9c9de7%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/6C6EE445A6F6CE4E8A0FFB51B071A4E2D85B8F72%40AMERMBX02.PERKINELMER.NET.
For more options, visit https://groups.google.com/d/optout.

Reply via email to