jenkinsci/sshd-module — pull request #4 by mplonka (2014-09-03 07:55:20+00:00)
Title: set client idle timeout to 3 hours

We have a scenario where one Jenkins instance (the Dev Jenkins) triggers a job in another instance (deployment job in Ops Jenkins) via SSH and waits for job completion. The Dev Jenkins job wants to know the completion status of job in Ops Jenkins and also needs to include output of job triggered in Ops Jenkins.

Everything works fine if the Ops Jenkins completes quickly. Sometimes the deployment job takes a bit longer (restarts, orchestrations) and then the Dev Jenkins receives timeout, failing entire deployment pipeline, despite the fact that deployment job continues and eventually succeeds.

This tiny patch sets client idle timeout to 3 hours, which is better than infinity and more than enough for our case.