Skip to content

Instantly share code, notes, and snippets.

@fidothe
Created September 7, 2009 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fidothe/182377 to your computer and use it in GitHub Desktop.
Save fidothe/182377 to your computer and use it in GitHub Desktop.
#!/bin/sh
sudo mkdir -p /usr/local/hudson
sudo curl -k -L http://hudson.gotdns.com/latest/hudson.war -o /usr/local/hudson/hudson.war
#!/bin/sh
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
java -jar /usr/local/hudson/hudson.war
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Program</key>
<string>/usr/local/hudson/launch-hudson</string>
<key>Label</key>
<string>net.java.dev.hudson</string>
<key>OnDemand</key>
<false/>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment