Created
April 27, 2015 16:47
-
-
Save mike0004/4fef061c48204be7af5f to your computer and use it in GitHub Desktop.
Jenkins autostart as setup by homebrew
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Jenkins autostart as setup by homebrew (only starts when user logs in- not good enough): | |
# $HOME/Library/LaunchAgents/homebrew.mxcl.jenkins.plist: | |
<?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>Label</key> | |
<string>homebrew.mxcl.jenkins</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/java</string> | |
<string>-Dmail.smtp.starttls.enable=true</string> | |
<string>-Xms512m</string> | |
<string>-Xmx512m</string> | |
<string>-XX:PermSize=256m</string> | |
<string>-XX:MaxPermSize=256m</string> | |
<string>-jar</string> | |
<string>/usr/local/opt/jenkins/libexec/jenkins.war</string> | |
<string>--httpListenAddress=0.0.0.0</string> | |
<string>--httpPort=8080</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment