Details
-
Bug
-
Status: In Progress (View Workflow)
-
Major
-
Resolution: Unresolved
-
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
Field | Original Value | New Value |
---|---|---|
Status | Open [ 1 ] | In Progress [ 3 ] |
Workflow | JNJira [ 137142 ] | JNJira + In-Review [ 185357 ] |
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.