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

Hudson SSH plugin

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: In Progress (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: scp-plugin
    • Labels:
      None
    • Environment:
      Windows XP Pro running SSH against various Linux boxes.
      Hudson version is 1.367
      Hudson SSH plugin version is 1.1
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          Hide
          fsimo 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.

          Show
          fsimo 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.
          Hide
          fsimo fsimo added a comment -

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

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

            People

            Assignee:
            ramazanyich2 ramazanyich2
            Reporter:
            fsimo fsimo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: