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 job (these are single shot type agents). I believe this is
happening because there is some delay to when the SSH command is executed
and when the agent is connecting to the controller. Is there a way to
throttle the bring-up of additional agents for a period of time for that
specific job requirement? I would like to delay say 30 seconds or more
before another agent is launched for that same job.

Thanks!

Alex

-- 
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/CAPiUgVcFGEfb%3DpCOOwFYkSP%2BoDuuZmct-Xn3x9P9GOV80xSkAA%40mail.gmail.com.

Reply via email to