mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-13 03:52:05 +00:00
User has to choose a custom installation. There are two choices: - Start at boot as "daemon" (enabled by default) - Start at boot as "jenkins" (disabled by default) If user disables the first and enable the latter, the installer will create a new user "jenkins" and new group "jenkins" (if they do not exist), chown JENKINS_HOME to jenkins:jenkins and set up launchd job to run Jenkins as "jenkins" Also fixed some permission errors that PackageMaker complains about when building the package. Also PackageMaker xml file reformatted to be more readable
9 lines
163 B
Bash
9 lines
163 B
Bash
#!/bin/bash
|
|
|
|
JENKINS_APP="/Applications/Jenkins"
|
|
|
|
# Fix Jenkins Permissions
|
|
chown -R root:wheel ${JENKINS_APP}
|
|
chmod 755 ${JENKINS_APP}
|
|
chmod 644 ${JENKINS_APP}/*
|