1、/usr/local/jdk1.8.0_191/ is not a directory on the Jenkins master (but perhaps it exists on some agents)

Jenkins使用过程中遇到的问题

 

    /usr/local/jdk1.8.0_191/目录不存在,检测Jenkins主机JDK的安装目录是否正确。

2、java: command not found

  Jenkins将SpringBoot应用发送了SSH远程服务器上后,执行远程服务器上.sh脚本报错,找不到java命令行。解决方式可在目标主机上建立软连接

ln -s /usr/local/jdk1.8.0_191/bin/java /usr/bin/

 

相关文章:

  • 2021-04-04
  • 2021-09-29
  • 2021-09-19
  • 2021-10-28
  • 2022-02-04
  • 2021-07-05
  • 2021-09-27
  • 2021-12-02
猜你喜欢
  • 2021-09-26
  • 2021-04-13
  • 2021-05-14
  • 2021-04-01
  • 2021-11-07
  • 2021-04-14
相关资源
相似解决方案