Linux搭建jenkins常见问题

Job for jenkins.service failed because the control process exited with error code. See "systemctl status jenkins.service" and "journalctl -xe" for details.

解决方法修改 jenkins 启动脚本
vim /etc/rc.d/init.d/jenkins
添加jdk /opt/jdk1.7.0_51/bin/java

Starting jenkins (via systemctl): Warning: jenkins.service changed on disk. Run ‘systemctl daemon-reload’ to reload units.

systemctl daemon-reload

你可能感兴趣的:(Linux搭建jenkins常见问题)