官方安装方法:RedhatJenkinsPackageshttps://pkg.jenkins.io/redhat-stable/安装方法参考官方即可,本次主要问题复盘服务器原来有安装jdk11,挂载在其他目录没有在/usr/目录下,所以我没有再安装jdksystemctlstartjenkins.service直接报错:Jobforjenkins.servicefailedbecausethecontrolprocessexitedwitherrorcode.See"systemctlstatusjenkins.service"and"journalctl-xe"fordetails.jou