Restarting cruisecontrol on Mac OSX

OK, so for those of you who know Unix better than me (which is probably most of you) this post will be like teaching your granny to suck eggs, but for the rest of us, it took me some working out how to stop and start the cruisecontrol server instance on the mac…


You see, on windows, I just press ctrl+c and the process terminates so you can then restart the sever. Well, on the mac, that doesn’t happen; if you ctrl+c, the server instance still runs. So, thanks to some friendly assistance, I found out how to kill the server. What you need to do first is type ps -e. This will list all the processes running. The one you are looking for will look something like this:

3267   p2  S  0.15.38   /System/Library/Frameworks/JavaVM.framework/Home/bin/java -Djavax.management.build

.
When you have that, note the PID, and then type kill -9 XXXX where XXXX is the pid you found in the previous step.

This entry was posted in Continuous Integration. Bookmark the permalink. Trackbacks are closed, but you can post a comment.