Peter Johnson wrote:It would appear that your script commands are terminated with a CR-FL char combination. Linux uses only LF, and the Cr shows up as a "?" at the end of the line. This might be a problem with the ssh plugin you are using for Hudson.
I am guessing that Hudson is running on a Windows box. If so, Therefore you might be better off running a bat file from Hudson and placing the ssh commands into the bat file.
Or are you using a browser on Windows? It would help if you described your setup.
Peter Johnson wrote:If you run the pre build script command manually using ssh on the build slave, while logged in as the same user as Hudson is, then what happens?