尝试在jenkins上创建EC2 windows slave时,这是一个常见的堆栈跟踪:
Exception in thread "main" java.io.EOFException: unexpected stream termination
at hudson.remoting.Channel.<init>(Channel.java:260)
at hudson.remoting.Channel.<init>(Channel.java:208)
at hudson.remoting.Launcher.main(Launcher.java:57)
at hudson.remoting.Launcher.main(Launcher.java:43)
答案 0 :(得分:0)
这是通过安装java并将其添加到PATH来解决的。