一台 Jenkins 服务器在 Linux 机器上以 Java 1.7 运行,我需要将其更改为 1.8,以便我可以运行特定的插件。
Linux 机器安装了 Java 1.8 JDK/JRE,但我找不到告诉 Jenkins 服务器使用它的方法?我在 Windows 服务器上找到了如何执行此操作的指南,但没有与 Linux Jenkins 服务器相关或转移的内容。
有没有办法在 linux 上更改 Jenkins 服务器使用的 JRE?
像这样的 linux 版本:https : //dzone.com/articles/make-jenkins-windows-service