Hi,

We are using GCP preemtible instances to deploy pod agents with Kubernetes 
Plugin. We want to be able to retry the pipeline if the node/pod is 
evicted, but our main problem is that when the pipeline is executing sh 
commands and the node/pod is evicted/deleted,  the pipeline instead of 
failing/aborted is hung undefinitely. This problem was supposed to be fixed 
in https://issues.jenkins.io/browse/JENKINS-49707 and 
https://issues.jenkins.io/browse/JENKINS-59340 but it doesn't seem to work 
in our use case. The only solution to this is to add a timeout (which is 
useless for us) or abort it manually. Any insights on this?

I attach our current Jenkins file and the job results:


Thanks,

Miquel

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/fc9edf1c-7f8e-4102-b797-750ff08b379fn%40googlegroups.com.

Reply via email to