3.启动jenkins服务
systemctl start jenkins 或 /etc/init.d/jenkins start
5.加入开机自启动
chkconfig jenkins on
如果使用systemctl enable Jenkins会报错!!!
[root@localhost ~]# systemctl enable jenkins
jenkins.service is not a native service, redirecting to /sbin/chkconfig.
Executing /sbin/chkconfig jenkins on



