正在将 Jenkins (2.121.3) 配置为在全局工具配置> JDK 安装中使用 JDK 12...使用“下载二进制存档的 URL”的菜单在执行构建时会产生以下错误:
The JAVA_HOME environment variable is not defined correctly
This environment variable is needed to run this program
NB: JAVA_HOME should point to a JDK not a JRE
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE
如何解决此问题?
一只名叫tom的猫
相关分类