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

Hudson SSH plugin

    XMLWordPrintable

Details

    • Bug
    • Status: In Progress (View Workflow)
    • Major
    • Resolution: Unresolved
    • scp-plugin
    • None
    • Windows XP Pro running SSH against various Linux boxes.
      Hudson version is 1.367
      Hudson SSH plugin version is 1.1

    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

          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.

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

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

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

          People

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

            Dates

              Created:
              Updated: