Hi Jenkins devs,

Actually (Jenkins version 1.535) the Maven 2/3 projects provides a feature 
to trigger post build steps depending the following conditions:

   - Run only if build succeeds 
   - Run only if build succeeds or is unstable
   - Run regardless of build result
   
My use case (using vSphere Cloud 
Plugin<https://wiki.jenkins-ci.org/display/JENKINS/vSphere+Cloud+Plugin>) 
is to

   1. In pre step: clone a VM from template and power on this VM
   2. in normal step: use this VM
   3. in post step:
      1. power of the VM regardless of the build result
      2. destroy the VM if the build succeed
   
The idea behind that is to keep the VM for debugging purpose if the build 
failed or is unstable and delete it if the build succeed.

It seems that this use case is not possible for now (mixing conditions for 
post steps).

Did I miss something to be able to implement my use case (or any 
workaround)?
Is it plan to have this kind of feature?

Thanks in advance and for your time developing this great tool.

David


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" 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/groups/opt_out.

Reply via email to