I've now got jenkins running and and the server configuration is available.

I added JENKINS_HOME /Users/Shared/Jenkins/Home to the defaults
$ defaults write /Library/Preferences/org.jenkins-ci JENKINS_HOME 
/Users/Shared/Jenkins/Home
then started the server from Terminal:
sudo /Library/Application Support/Jenkins/jenkins-runner.sh &

Rather oddly, it doesn't start jenkins from launchctl (and therefore 
doesn't survive a crash or reboot) - however I'm sure that will have a 
simple explanation.  At least I have the jenkins server running and 
available to users.

Robin

On Monday, October 20, 2014 12:09:29 AM UTC+1, Robin Mills wrote:
>
> Folks
>
> I've had Jenkins running for months on my Mac Mini.  I upgraded today to 
> Yosemite and was very surprised that Jenkins refuses to start (any port, 
> not just 8080, with/without sudo)
>
> I've looked through everything in the System Preferences concerning 
> security, network, users, updated Java.  Nope!  Defeated.  Looks like some 
> new Yosemite policeman needs to be told "it's OK to allow Java to open port 
> 8080!" (or something like that).
>
> Does anybody have any ideas?
>
> Robin
>
> 538 rmills@rmillsmm:~ $ ls -alt 
> /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
> -rwxr-xr-x  1 jenkins  jenkins  729317  9 Sep 23:02 
> /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar
> 539 rmills@rmillsmm:~ $ java -jar 
> /Users/Shared/Jenkins/Home/war/WEB-INF/jenkins-cli.jar -s 
> http://localhost:8080
> Exception in thread "main" java.io.IOException: Failed to connect to 
> http://localhost:8080/
> at hudson.cli.CLI.getCliTcpPort(CLI.java:266)
> at hudson.cli.CLI.<init>(CLI.java:126)
> ...
> Caused by: java.net.ConnectException: Connection refused
> at java.net.PlainSocketImpl.socketConnect(Native Method)
> at 
> java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:345)
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to