报错日志
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError: hudson/remoting/Launcher has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
原因分析:
由于当前使用的为最新版本的Jenkins【其内部用的是JDK17】,待添加节点上的JDK版本为1.8版本;
解决方式
手动上传版本≥11的JDK,并在为节点配置JDK目录;
结果展示