踩坑java.nio.channels.ClosedChannelException
Jenkins新建节点,启动方式为:Launch agent by connecting it to the controller
在从设备机器上安装java环境,并安装下载好的jenkins-agent.jnlp运行之后,主机设备提示java.nio.channels.ClosedChannelException
解决方法:
1.找到从设备电脑的java安装目录如下中的Java.policy
2.打开Java.policy,在最后面添加permission java.security.AllPermission;
最后问题解决