Jenkins port setting
准备用Jenkins来新项目的CI Server,在Windows Server 2008 R2上用.war直接安装,(这台server也用作了TFS host),但在用jenkins.war 安装时,提示如下错误:
Failed to listen on port 8080
Google后,大都提示要在jenkins.xml或者hudson.xml中修改.config文件,但是直接用jenkins.war安装时,root下是木油这个配置文件的(应该是用msi文件安装后才有,木油验证过),经过折腾后,在[https://wiki.jenkins-ci.org/display/JENKINS/Starting+and+Accessing+Jenkins]发现:
java -jar jenkins.war --httpPortal=$HTTP_PORT
Issue status:
1) Could run war file without exception;
2) Site still could not be ran;
由于是Windows Server 2008,测试地址必须是http://localhost:8086,木油[http://],网站不能run。
Issue status: solved;
===Life was like a box of chocolates. You never know what you're gonna get.===