Created
February 7, 2011 01:37
-
-
Save tibo/813900 to your computer and use it in GitHub Desktop.
Jenkins Launchd configuration
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
<?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>UserName</key> | |
<string>jenkins</string> | |
<key>Label</key> | |
<string>org.jenkins-ci.jenkins</string> | |
<key>EnvironmentVariables</key> | |
<dict> | |
<key>JENKINS_HOME</key> | |
<string>/Users/jenkins/Jenkins/work/</string> | |
</dict> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/java</string> | |
<string>-jar</string> | |
<string>/Users/jenkins/Jenkins/jenkins.war</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>SessionCreate</key> | |
<true /> | |
</dict> | |
</plist> |
If anyone is having issues with codesigning, try replacing ProgramArguments with a bash script wrapper. Also try deleting all signing credentials (certs, keys, CAs) in the keychains and reimporting them (I use fastlane's match).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Put it in /Library/LaunchDaemons/ as org.jenkins-ci.jenkins.plist and load it with launchctl load /path/to/file.plist