vim /usr/lib/systemd/system/jenkins.service
Jenkin:Failed to start Jenkins Continuous Integration Server问题解决 :参考
附上jenkins的各文件路径:
/usr/lib/jenkins/jenkins.war WAR包
/etc/sysconfig/jenkins 配置文件
/var/lib/jenkins/ 默认的家目录
/var/log/jenkins/jenkins.log 日志文件