[Info-vax] Suppress blank lines added by HP SSH?
John E. Malmberg
wb8tyw at qsl.network
Mon Feb 22 09:07:49 EST 2016
On 2/21/2016 11:11 PM, Steven Schweda wrote:
> "-q" seems to offer some improvement:
Yes. Unfortunately it is not an option I can pass to the Jenkins SSH
slave startup, and still leaves one blank line.
> But RSH is better:
But is also not an option for starting a Jenkins slave directly.
There is an alternate launch method for having the Jenkins master issue
a command to start the slave.
[Needs some hacks to login.com and GNV Bash .bashrc to get the command
case right on the client and use GNV bash on the client, will document
that later on a vms-ports wiki.]
This also fails:
[02/22/16 07:44:53] Launching slave agent
$ ssh lion java -jar /solar_root/jeeves/slave.jar
<===[JENKINS REMOTING CAPACITY]===ERROR: Unable to launch the slave
agent for solar_lion_1
java.io.IOException: Invalid encoded sequence encountered: 0D 0A 65 51 00 00
at hudson.remoting.BinarySafeStream$1._read(BinarySafeStream.java:194)
...
I suspect that since VMS java knows nothing of GNV bash, it is issuing
some unknown command as a DCL command and getting the output prefixed by
the \r\n.
The bottom line is that to have Jenkins run a VMS slave directly will
probably require modifications to slave.jar.
The fallback is to use a Linux slave to issue commands to the VMS systems.
Regards,
-John
wb8tyw at qsl.network
Personal Opinion Only
More information about the Info-vax
mailing list