diff --git a/osx/JenkinsInstaller.pmdoc/01jenkins-contents.xml b/osx/JenkinsInstaller.pmdoc/01jenkins-contents.xml new file mode 100644 index 0000000000000000000000000000000000000000..2a10ea01a9cc6821c83f52537c8aa0c0c9e1ce91 --- /dev/null +++ b/osx/JenkinsInstaller.pmdoc/01jenkins-contents.xml @@ -0,0 +1 @@ +groupowner \ No newline at end of file diff --git a/osx/JenkinsInstaller.pmdoc/01jenkins.xml b/osx/JenkinsInstaller.pmdoc/01jenkins.xml new file mode 100644 index 0000000000000000000000000000000000000000..7f32633366e28c6b3d5c913c00371a64db813756 --- /dev/null +++ b/osx/JenkinsInstaller.pmdoc/01jenkins.xml @@ -0,0 +1 @@ +de.richter.jenkinsCiServer.jenkins.pkg1.1405binary/jenkins.war/Applications/JenkinsdiscardResourceForksinstallFrom.isRelativeTypeinstallTopostInstallextraFilesinstallFrom.pathidentifierparentversioninstallTo.pathrequireAuthorizationscripts.postinstall.isRelativeTypescripts/postinstall/Users/irichter/Desktop/JenkinsInstaller/scripts01jenkins-contents.xml/CVS$/\.svn$/\.cvsignore$/\.cvspass$/\.DS_Store$ \ No newline at end of file diff --git a/osx/JenkinsInstaller.pmdoc/index.xml b/osx/JenkinsInstaller.pmdoc/index.xml new file mode 100644 index 0000000000000000000000000000000000000000..730f24e7e8f4aec56ff6e795c44dc7206b7f3bb9 --- /dev/null +++ b/osx/JenkinsInstaller.pmdoc/index.xml @@ -0,0 +1 @@ +Jenkins CI Server/Users/irichter/Desktop/Jenkins.pkgde.richter/Applications/Jenkinsartwork/banner-200.pngdocs/Jenkins-LICENSE.txtdocs/JenkinsWelcomePanel.rtf01jenkins.xmlpostinstallActions.actionsproperties.titleproperties.userDomainproperties.customizeOptionextraFilesproperties.systemDomainproperties.anywhereDomain \ No newline at end of file diff --git a/osx/README.textile b/osx/README.textile new file mode 100644 index 0000000000000000000000000000000000000000..3f73f413479bc277cbfcb0c99e368f2fb017b0ca --- /dev/null +++ b/osx/README.textile @@ -0,0 +1,39 @@ +h1. Jenkins OSX Installer Project + +To create the Jenkins Installer for OSX you need an OSX machine with Developer Tools installed. You can download the Developer Tools from Apple's Developer Connection website (http://developer.apple.com) + +h3. Build the installer + +To build an installer you need to download the version you'd like to package from http://mirrors.jenkins-ci.org/war/latest/. Download the jenkins.war and place the file in *binary* directory. The installer project requires the file to be there. Otherwise the creation process will fail. + +Open a terminal and enter the following commands: +
ant build -DjenkinsBuildNumber=1.4xx
+ +h3. Some Links + +* "Jenkins Site":http://jenkins-ci.org +* "Apple Developer Connection":http://developer.apple.com + +h3. MIT License + +
+Copyright (C) 2011 by Ingo Richter
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
\ No newline at end of file diff --git a/osx/artwork/banner-200.png b/osx/artwork/banner-200.png new file mode 100644 index 0000000000000000000000000000000000000000..bb91e16798a4280cce48c8d4aac23e5a026095e8 Binary files /dev/null and b/osx/artwork/banner-200.png differ diff --git a/osx/build.properties b/osx/build.properties new file mode 100644 index 0000000000000000000000000000000000000000..a112109ba14b9822b7fb221fcdfa6ee7708ff384 --- /dev/null +++ b/osx/build.properties @@ -0,0 +1,6 @@ +#build properties +#Mon, 11 Apr 2011 12:24:12 -0700 +builddir=target +packagemaker=/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/PackageMaker +installer.file.name=JenkinsInstaller-${jenkinsBuildNumber}.pkg +installer.title=Jenkins ${jenkinsBuildNumber} \ No newline at end of file diff --git a/osx/build.xml b/osx/build.xml new file mode 100644 index 0000000000000000000000000000000000000000..6ca5f45a6e91a53bfc5daf7d2efdf220d431d48d --- /dev/null +++ b/osx/build.xml @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/osx/docs/Jenkins-LICENSE.txt b/osx/docs/Jenkins-LICENSE.txt new file mode 100644 index 0000000000000000000000000000000000000000..9f519f85cf7539c4dfc12e469c0edafdb3c0ce21 --- /dev/null +++ b/osx/docs/Jenkins-LICENSE.txt @@ -0,0 +1,8 @@ +The MIT License + +Copyright (c) 2004-, Kohsuke Kawaguchi, Sun Microsystems, Inc., and a number of other of contributers + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/osx/docs/JenkinsWelcomePanel.rtf b/osx/docs/JenkinsWelcomePanel.rtf new file mode 100644 index 0000000000000000000000000000000000000000..8608732f06679678b7a611b6a9a6c4d81aa16c67 --- /dev/null +++ b/osx/docs/JenkinsWelcomePanel.rtf @@ -0,0 +1,19 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350 +{\fonttbl\f0\fswiss\fcharset0 ArialMT;} +{\colortbl;\red255\green255\blue255;} +{\*\listtable{\list\listtemplateid1\listhybrid{\listlevel\levelnfc23\levelnfcn23\leveljc0\leveljcn0\levelfollow0\levelstartat1\levelspace360\levelindent0{\*\levelmarker \{disc\}}{\leveltext\leveltemplateid1\'01\uc0\u8226 ;}{\levelnumbers;}\fi-360\li720\lin720 }{\listname ;}\listid1}} +{\*\listoverridetable{\listoverride\listid1\listoverridecount0\ls1}} +\margl1440\margr1440\vieww12440\viewh12240\viewkind0 +\deftab720 +\pard\pardeftab720\sl320\ql\qnatural + +\f0\fs24 \cf0 Jenkins monitors executions of repeated jobs, such as building a software project or jobs run by cron. Among those things, current Jenkins focuses on the following two jobs:\ +\ +\pard\tx220\tx720\pardeftab720\li720\fi-720\sl320\ql\qnatural +\ls1\ilvl0\cf0 {\listtext \'95 }Building/testing software projects continuously, just like CruiseControl or\'a0DamageControl. In a nutshell, Jenkins provides an easy-to-use so-called continuous integration system, making it easier for developers to integrate\'a0changes to the project, and making it easier for users to obtain a fresh\'a0build. The automated, continuous build increases the productivity.\ +{\listtext \'95 }Monitoring executions of externally-run jobs, such as cron jobs and procmail\'a0jobs, even those that are run on a remote machine. For example, with cron,\'a0all you receive is regular e-mails that capture the output, and it is up to\'a0you to look at them diligently and notice when it broke. Jenkins keeps those\'a0outputs and makes it easy for you to notice when something is wrong\ +\pard\pardeftab720\sl320\ql\qnatural +\cf0 \ +\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardeftab720\ql\qnatural\pardirnatural +\cf0 For information on CI see http://www.martinfowler.com/articles/continuousIntegration.html\ +} \ No newline at end of file diff --git a/osx/scripts/postinstall b/osx/scripts/postinstall new file mode 100644 index 0000000000000000000000000000000000000000..eae8796a72915c5195d6c7ff268a8f3a5278cc9b --- /dev/null +++ b/osx/scripts/postinstall @@ -0,0 +1,43 @@ +#!/bin/bash + +scriptPath=$0 +packagePath=$1 +targetLocation=$2 +targetVolume=$3 + +JENKINS_HOME=/Users/Shared/Jenkins/Home +JENKINS_PLIST=/Library/LaunchAgents/org.jenkins-ci.plist + +cat > ${JENKINS_PLIST} < + + + + Label + org.jenkins-ci + UserName + daemon + GroupName + daemon + ProgramArguments + + /usr/bin/java + -Xmx512m + -jar + ${targetLocation}/jenkins.war + + RunAtLoad + + KeepAlive + + EnvironmentVariables + + JENKINS_HOME + ${JENKINS_HOME} + + + +JENKINS-PLIST + +# this is the label +/bin/launchctl load ${JENKINS_PLIST}