Jenkins常用命令
# 重启 Jenkins
service jenkins restart
# 启动 Jenkins
service jenkins start
# 停止 Jenkins
service jenkins stop
#查看 Jenkins 进程
ps -ef | grep jenkins
#查看 Jenkins 状态
service jenkins status
修改端口(Jenkins默认端口是 8080),JENKINS_PORT="8080"
vi /etc/sysconfig/jenkins