Commit Graph
67 Commits
Author SHA1 Message Date
Kenichi Maehashi 7eecfeb261 set file.encoding=UTF-8 as default in OS X runner 2013-12-18 01:10:05 +09:00
Joshua Keroes e7ac2e4e1b Set defaults for Java heap and perms on both i386 and x64_64 architectures. The x64_64 settings work for me. Recommend that they be reviewed by a Java/OSX dev. 2013-06-26 15:54:07 -07:00
Joshua Keroes 598162d845 Add minPermGen and minHeapSize settings for defaults(1) which will be used preallocate Java's HeapSize and PermSize. 2013-06-26 15:53:45 -07:00
KOMATSU Seiji 990e3c3bf2 JENKINS-15178: Improved logging on Mac OS X (now outputs to /var/log/jenkins/jenkins.log) 2012-09-16 14:59:57 +09:00
Sami Tikka 1dcd3fe54d Merge PR#527 with a small edit. 2012-07-25 23:14:25 +03:00
Sami Tikka a2c78f930b Enable su'ing to jenkins user also when upgrading
If the user has an earlier Jenkins installation,
we should probably change the jenkins user shell
during the upgrade.

If the user has already changed jenkins user shell
to something else, we do not touch it.
2012-07-25 23:05:59 +03:00
Sami Tikka 86f25b0d1f Mac installer adds Uninstall utility
Uninstall.command is dropped to /Library/Application Support/Jenkins
2012-07-25 01:38:51 +03:00
Sami Tikka 20d18d1852 Reformatted for readability
Used xmllint --format
2012-07-25 01:38:50 +03:00
Joris de Vries c575e50018 Make the run as jenkins option selected by default over run as daemon 2012-07-24 09:28:01 +02:00
Joris de Vries f37e89045e Create a security session, solving problems with accessing keychains 2012-07-24 09:21:21 +02:00
Joris de Vries a3f9ac6228 Enable su'ing to Jenkins user (necessary for importing certificates into a jenkins-owned keychain) 2012-07-24 09:15:24 +02:00
Jerome Lacoste fb9f0679c7 Max OS X: allow to configure the daemon max PermGen using standard preferences 2012-03-07 08:15:08 +01:00
Sami Tikka 87ee2bbcc3 osx: Make PackageMaker lookup compatible with Xcode 4.3
Xcode 4.3 no longer ships with PackageMaker.

PackageMaker is available in "Auxiliary Tools.dmg", which
means there is no standard location for it as the developer
is free to unpack it anywhere he wants.

I do not see any other way to find PackageMaker except ask
Spotlight.
2012-02-19 00:43:48 +02:00
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
Sami Tikka c99458365a osx: Improved installer based on recent feedback on #jenkins
1) Installer checks Java is installed before proceeding.
   It also tells how to get Java installed.

2) Installer opens http://localhost:8080 when installation is finished.
2012-01-03 12:26:07 -08:00
Kohsuke Kawaguchi 41015a6f4a pretty printing first to make the diff easier to see 2012-01-03 12:23:13 -08: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
Kohsuke Kawaguchi 5eaf8b752b this version works correctly with SNAPSHOT 2011-08-19 06:28:56 -07:00
Sami Tikka 02447d9190 Mac: Added documentation for customizing launch daemon startup. 2011-08-09 14:29:30 -07:00
Sami Tikka d6b7d84259 Mac: Fixed the command line generation for heapSize setting 2011-08-09 14:29:30 -07:00
Sami Tikka 686424cdaf Mac: Added customizable startup script. 2011-08-09 14:29:30 -07: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
Kohsuke Kawaguchi cdc967efbd - ignore SNAPSHOTS
- make the file name match the existing scheme.
2011-06-24 15:52:29 -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 c1c487b8a7 Fixing minor things in Readme/License 2011-06-17 00:12:49 -04:00
Will Ross 87d51740aa Fix permissions on Jenkins' home 2011-06-17 00:08:47 -04:00
Will Ross 546c225454 Remove an extra step in the build script 2011-06-16 23:45:38 -04:00
Will Ross f6515a079e Open the actual configuration directory
Open the configuration directory, not the Jenkins
folder in general
2011-06-16 23:31:53 -04:00
Will Ross bc896b72c7 Fix permissions on installed files 2011-06-16 23:29:48 -04:00
Will Ross 5f0d26c44a There was a carriage return at the end of the version string 2011-06-16 22:52:18 -04:00
Will Ross 46a87d59e5 We're actually creating a meta package 2011-06-16 22:51:58 -04:00
Will Ross 9f675935e6 Reduce the number of steps in fiddling with the packager 2011-06-16 22:49:33 -04:00
Will Ross 31b9e7fae2 Fix the naming of the package with spaces 2011-06-16 22:48:44 -04:00
Will Ross 714dd50914 Remove the debug option from the packager 2011-06-16 22:48:24 -04:00
Will Ross afecbd2476 This is functionally useless, but works around a parsing bug in TextMate 2011-06-16 22:47:58 -04:00
Will Ross fbbc3eaa30 Simplify the launchd postinstall script 2011-06-16 22:41:22 -04:00
Will Ross 3c3fc9365f Lighten the background image
Before, the image was fairly bright, and
overwhelmed  other elements in the installer
window
2011-06-16 12:29:55 -04:00
Will Ross 81b6f9eea7 Have the build script revert it's changes when it's done 2011-06-16 12:23:02 -04:00
Will Ross 846c53e9c1 Open the configuration directory when the install is done 2011-06-16 12:19:35 -04:00
Will Ross 42bdf6c762 Remove the 'option' of specifying the install location
THe installer will say everything is invalid
2011-06-16 12:19:18 -04:00
Will Ross 791bc68b1c Move the LaunchDaemon to a separate option 2011-06-16 12:13:51 -04:00