I have written a post-commit hook just like as its shown in https://wiki.jenkins-ci.org/display/JENKINS/Subversion+Plugin to trigger a Jenkins build if someone commits something to subversion.
Recently, one of our authentication servers for Jenkins went down. My post-commit hook does not timeout in 2 secs. It waits and waits. How do I set a timeout for this in my post-commit hook?