提交 c9945836 编写于 作者: S Sami Tikka 提交者: Kohsuke Kawaguchi

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.
上级 41015a6f
......@@ -62,8 +62,11 @@ Upcoming changes</a>
Incorrect path delimiter used in ZipArchiver when creating archive on Windows.
<a href="https://issues.jenkins-ci.org/browse/JENKINS-9942">issue 9942</a>
<li class="rfe">
<tt>.jpi</tt> is now supported as well as <tt>.hpi</tt> as a plugin extension.
<tt>.jpi</tt> is now supported as well as <tt>.hpi</tt> as a plugin extension.
(<a href="https://github.com/jenkinsci/jenkins/pull/331">pull #331</a>)
<li class="rfe">
OSX installer now checks for the existence of JVM and open the browser in the end.
(<a href="https://github.com/jenkinsci/jenkins/pull/329">pull #329</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -34,11 +34,17 @@
<resource relative="true" mod="true" type="welcome">docs/JenkinsWelcomePanel.rtf</resource>
</locale>
</resources>
<requirements>
<requirement id="file" operator="eq" value="true">
<file>/System/Library/Frameworks/JavaVM.framework/Versions/A/Commands/java</file>
<message-title>Java Runtime Not Found</message-title>
<message>You need Java runtime to run Jenkins. Open /Applications/Utilities/Java Preferences, install Java and then run this installer again.</message>
</requirement>
</requirements>
<flags/>
<postinstall>
<action id="com.apple.packagemaker.actions.showfile">
<value>/Users/Shared/Jenkins/Home</value>
<type>absolute-path</type>
<action id="com.apple.packagemaker.actions.openurl">
<value>http://localhost:8080/</value>
</action>
</postinstall>
<extra-files/>
......@@ -48,10 +54,10 @@
<item type="file">04jenkins.xml</item>
<mod>description</mod>
<mod>properties.title</mod>
<mod>properties.systemDomain</mod>
<mod>properties.anywhereDomain</mod>
<mod>properties.userDomain</mod>
<mod>properties.customizeOption</mod>
<mod>extraFiles</mod>
<mod>properties.systemDomain</mod>
<mod>postinstallActions.actions</mod>
<mod>properties.anywhereDomain</mod>
</pkmkdoc>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册