Ok, that makes sense. I had something in the code for something like that,
but had it disabled because I didn't think it would work for what I wanted,
but I think I just need to tweak a couple of things. Thanks for the help! I
did mean ephemeral, I just couldn't remember that term.
Regards,
Alex
You need to keep track of what provisioning requests you have in flight
(that have not failed) and then act accordingly when called by looking at
the CloudState
https://javadoc.jenkins.io/hudson/slaves/Cloud.html#provision(hudson.slaves.Cloud.CloudState,int)
By single shot I am taking it you mean
I developed a plugin to launch agents on our internal "cloud"
infrastructure. These agents are launched via an SSH command which launches
the agent process and has the JNLPLauncher as the actual launcher. What I
see happen is that multiple agents are trying to spin up even though there
is only one