Status: In Progress (View Workflow)
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.
ls > hello.txt
creates a file hello.txt^M on the file system
All my scripts worked before.
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.
fsimo made changes -
|Field||Original Value||New Value|
|Status||Open [ 1 ]||In Progress [ 3 ]|
R. Tyler Croy made changes -
|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.