Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-7006

SSH-Slaves plugin should fall back to scp if sftp does not work (also when removing "slave.jar")

XMLWordPrintable

    • Icon: Patch Patch
    • Resolution: Fixed
    • Icon: Minor Minor
    • ssh-slaves-plugin
    • None

      JENKINS-6239 added SCP-fallback for SFTP-less system accounts. Original patch added this feature only for copying "slave.jar" to the slave, but not for removing it (which results in stack trace in slave log on disconnect).

      Attached patch fixes this by falling-back to "rm /path/to/slave.jar" when SFTP fails.

            kohsuke Kohsuke Kawaguchi
            piotrsikora piotrsikora
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: