Commit Graph
19 Commits
Author SHA1 Message Date
Sami Tikka eae3e3d284 osx: Fix for JENKINS-12622 - opening browser too early 2012-02-03 00:14:06 +02:00
Sami Tikka ed06d14729 osx: "jenkins" user created by installer should be a hidden user. 2012-01-15 10:55:55 +02:00
Sami Tikka f8f48607e8 OS X installer can run Jenkins as user "jenkins"
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
2012-01-14 13:59:05 +02:00
Kohsuke Kawaguchi 68a7f8e319 [FIXED JENKINS-11714] Fixed the problem in the find command operator priority.
see https://groups.google.com/forum/#!topic/jenkinsci-ja/4FsDhryOwYE
2011-11-30 10:09:22 -08:00
Sami Tikka 3a52395ce4 Mac: Load and run Jenkins unconditionally to prevent user confusion.
Sometimes users unload Jenkins using the launchctl -w option.
This permanently disables the Jenkins launchd job.
When the user re-installs Jenkins, he gets confused when
Jenkins doesn't load and run automatically and there is no
good error message from launchctl when it ignores the
Jenkins job because it is permanently disabled.
("nothing found to load")

Always forcing Jenkins to run after installation seems to be
the way of minimum confusion. The user is installing Jenkins
because he wants to run Jenkins, right?
2011-11-09 01:02:29 +02:00
Sami Tikka 0955a198b4 Mac installer: Much faster postinstall script 2011-10-14 00:23:41 +03:00
Sami Tikka 5dd78439c8 Mac: Reload launch daemon on upgrades
Although there aren't any Jenkins packages deployed that use a launch daemon, soon there will be.
Let's make the preinstall capable of handling that already now.
2011-07-05 17:39:28 -07:00
Sami Tikka afa15eb883 Mac: Prevent admin user accidentally changing jenkins.war
Files under /Applications are usually owned by root and wheel, unless admin user has dragged it there. Jenkins is not an install-by-dragging kind of app.
2011-07-05 17:39:28 -07:00
Sami Tikka eeda9e218e Mac: Removed unnecessary start command
The Jenkins launch daemon is configured "RunAtLoad", i.e. it runs immediately. No need to start it.
2011-07-05 17:39:28 -07:00
Sami Tikka 8146a48604 Mac: Prevent admin users from accidentally modifying launch daemon config file 2011-07-05 17:39:28 -07:00
Will Ross 547c8d6bf1 Make sure the Home directory for Jenkins exists 2011-06-19 01:23:11 -04:00
Will Ross ab09e9bb62 Remove the old launchd plist before we install 2011-06-18 19:09:32 -04:00
Will Ross e2615b6dc4 Fix jenkins.war in its installation step 2011-06-18 18:54:42 -04:00
Will Ross 87d51740aa Fix permissions on Jenkins' home 2011-06-17 00:08:47 -04:00
Will Ross bc896b72c7 Fix permissions on installed files 2011-06-16 23:29:48 -04:00
Will Ross fbbc3eaa30 Simplify the launchd postinstall script 2011-06-16 22:41:22 -04:00
Will Ross 791bc68b1c Move the LaunchDaemon to a separate option 2011-06-16 12:13:51 -04:00
Will Ross f5409d8d24 Put the launchd config in LaunchDaemons
This is consistent with Apple's guidelines for
LaunchAgents vs. LaunchDaemons. Daemons start at
boot, and are not associated with a user. Agents
on the other hand are associated with a specific
user.
2011-06-15 21:31:55 -04:00
Kohsuke Kawaguchi d7815877ef importing the installer build script 2011-04-13 09:16:11 -07:00