-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Minor
-
Component/s: ssh-slaves-plugin
-
None
I am attaching a slave node of a windows virtual machine on my jenkins. However, it ran into the follow error:
[08/18/21 23:30:36] [SSH] Opening SSH connection to 168.42.85.140:22.
[08/18/21 23:30:37] [SSH] SSH host key matches key in Known Hosts file. Connection will be allowed.
[08/18/21 23:30:37] [SSH] Authentication successful.
SSH connection reports a garbage before a command execution.
Check your .bashrc, .profile, and so on to make sure it is quiet.
The received junk text is as follows:
'true' is not recognized as an internal or external command,
operable program or batch file.
null
[08/18/21 23:30:37] Launch failed - cleaning up connection
[08/18/21 23:30:37] [SSH] Connection closed.
However, I cannot find .bashrc or .profile on the potential windows slave node.Â
Jenkins is running on macOS of 10.12 and there is some related info
| sun.java.command | jenkins.war --httpPort=8000 |
| ssh-credentials | 1.13 | true |
| ssh-slaves | 1.20 | true |
Â
Please let me know if any jenkins info should be provided.Â
Â