windows 版本
1、去官网下载最新版本,直接安装
2、默认端口8080,修改端口
a、先停止jenkins服务
【CMD】->【net stop jenkins】
b、打开"C:\Program Files (x86)\Jenkins\jenkins.xml"
修改为9000
<arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar "%BASE%\jenkins.war" --httpPort=9000 --webroot="%BASE%\war"</arguments>
c、重新启动jenkins服务
【CMD】->【net start jenkins】
d、访问localhost:9000