Hello,
I am working on OpenStack Cloud plugin to introduce Declarative Pipeline
option. The feature is nearly done, all I need is to delete the
OpenStack machine which is supposed to be only temporary and removed
once the job is finished.
I am not sure which method to call from Workflow step api plugin.
I have my Step Execution here:
https://github.com/drichtarik/openstack-cloud-plugin/blob/JENKINS-47742/src/main/java/jenkins/plugins/openstack/pipeline/OpenStackNodeStepExecution.java
It needs to run ((JCloudsComputer) newSlave.toComputer()).deleteSlave();
as it is in public void stop method. But probably somewhere else? Should
I extend something else than SynchronousNonBlockingStepExecution?
Your help would be much appreciated!
Regards
Denis Richtárik
--
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/47c3189e-edad-c390-f3bc-4576fa1d10ec%40gmail.com.
For more options, visit https://groups.google.com/d/optout.