踩坑java.nio.channels.ClosedChannelException
Jenkins新建节点,启动方式为:Launch agent by connecting it to the contoller
发现控制台打印java.nio.channels.ClosedChannelException,经过多次排查发现在新的节点电脑上面的jenkins目录下remoting目录下面有log,log中显示是没有权限,解决方法
1.找到java的安装目录中的java.policy
2.打开该文件在最后面加上permission java.security.AllPermission;
最后问题解决