所以我有一堆jenkins构建,我已经工作了......但是我在构建结束时遇到了这个奇怪的错误。
No JDK named ‘JDK8’ found
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Notifying upstream projects of job completion
No JDK named ‘JDK8’ found
Finished: SUCCESS
我知道我的奴隶上安装了JDK 8
[jenkins@ip-XX-XX-XX-XXX ~]$ java -version
openjdk version "1.8.0_141"
OpenJDK Runtime Environment (build 1.8.0_141-b16)
OpenJDK 64-Bit Server VM (build 25.141-b16, mixed mode)
[jenkins@ip-XX-XX-XX-XXX ~]$
我很奇怪构建会起作用吗?我想这不是一个很大的问题,但很高兴知道他们为什么会工作,但我会遇到这个问题?如果这有所不同,我无法访问全局配置?