• Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • scp-plugin
    • None
    • Windows XP Pro running SSH against various Linux boxes.
      Hudson version is 1.367
      Hudson SSH plugin version is 1.1

      None script is working since an upgrade of Hudson, I don't know the previous versions.

      There is some problem with lr/cr.

      A simple
      ls > hello.txt
      creates a file hello.txt^M on the file system

      All my scripts worked before.

          [JENKINS-7045] Hudson SSH plugin

          fsimo added a comment -

          The problem affects 1.0 and 1.1 versions of SSH plugni, no matter which version of Hudson you are using.

          It's the HTML text-area for introducing the script. When a scripts have more the one line it fails. (may be a html textarea conversion problem)

          1.0 tends to fail less because uses a

          <input id="textarea.ssh.preScript" name="ssh.preScript" value="ls -laR" class="setting-input" type="text" />

          by default and 1.1 uses a textarea by default.

          fsimo added a comment - The problem affects 1.0 and 1.1 versions of SSH plugni, no matter which version of Hudson you are using. It's the HTML text-area for introducing the script. When a scripts have more the one line it fails. (may be a html textarea conversion problem) 1.0 tends to fail less because uses a <input id="textarea.ssh.preScript" name="ssh.preScript" value="ls -laR" class="setting-input" type="text" /> by default and 1.1 uses a textarea by default.

          fsimo added a comment -

          The problem may be the CR/LF from a Hudson on Windows to a unix-like system.

          fsimo added a comment - The problem may be the CR/LF from a Hudson on Windows to a unix-like system.

          Mark Waite added a comment -

          The scp plugin is deprecated. No further development is planned. Refer to https://github.com/jenkinsci/scp-plugin#readme for more details

          Mark Waite added a comment - The scp plugin is deprecated. No further development is planned. Refer to https://github.com/jenkinsci/scp-plugin#readme for more details

            ramazanyich2 ramazanyich2
            fsimo fsimo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: