前言:在jenkins添加ubuntu节点,发现启动代理报错
以下是报错:
[SSH] Checking java version of /usr/java/latest/bin/java
Couldn't figure out the Java version of /usr/java/latest/bin/java
bash: /usr/java/latest/bin/java: No such file or directory
。。。。。。
Could not find any known supported java version
Unable to install JDK unless a valid Oracle account username/password is provided in the system configuration.
以下是解决方法:
1.在添加节点界面,选择高级
2.在java路径下面,添加节点的jdk位置,并保存
效果:点击启动代理,成功连接
网友评论