Add timeout config for SSH plugins

XMLWordPrintable

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: ssh-plugin
    • None

      Hello,

      While using the SSH plugin I continually get socket timeout errors.

      After some research (i'm not a java dev) I think the problem could be mitigated somewhat if I was able to configure the timeout value from within Jenkins.

      From my limited understanding Jenkins is calling the Jsch library which does have a variable for sockettimeout: http://epaul.github.io/jsch-documentation/javadoc/com/jcraft/jsch/Session.html#setTimeout(int)

      So similar to how we pass the host details and the keepalive settings can we add a field to configure the timeout?

      Apologies if this is not the place for this.

            Assignee:
            Unassigned
            Reporter:
            Amo Chumber
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: