Currently, when an agent dies in the middle of building something, the pipeline job in Jenkins hangs forever. How do I make Jenkins fail or abort the job instead? Please do not suggest setting a timeout.
When the hang happens the last message in the log is Cannot contact oceansong: java.lang.InterruptedException or Cannot contact oceansong: hudson.remoting.RequestAbortedException: java.nio.channels.ClosedChannelException Jenkins version is Jenkins 2.440.1 -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/ca452f42-a69a-4339-a78d-834663f6a455n%40googlegroups.com.