提交 ad646cd1 编写于 作者: B bap2000 提交者: Kohsuke Kawaguchi

Move Jenkins URL to its own section in the global configuration

The URL is used in many more places than just E-mail Notification, but people who do not send emails from Jenkins tend to overlook it and do not think it is a setting that will affect them.
上级 50618306
......@@ -63,6 +63,8 @@ Upcoming changes</a>
(<a href="http://issues.jenkins-ci.org/browse/JENKINS-9281">issue 9281</a>)
<li class=rfe>
Added two new CLI commands "wait-node-online" and "wait-node-offline" to block until a slave becomes online/offline.
<li class=rfe>
Move Jenkins URL setting from E-mail Notification to its own section in the main configuration.
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -23,6 +23,11 @@ THE SOFTWARE.
-->
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
<f:section title="${%Jenkins URL}">
<f:entry title="${%Jenkins URL}" field="url">
<f:textbox default="${h.inferHudsonURL(request)}" />
</f:entry>
</f:section>
<f:section title="${%E-mail Notification}">
<f:entry title="${%SMTP server}" field="smtpServer">
<f:textbox />
......@@ -33,9 +38,6 @@ THE SOFTWARE.
<f:entry title="${%System Admin E-mail Address}" field="adminAddress">
<f:textbox />
</f:entry>
<f:entry title="${%Jenkins URL}" field="url">
<f:textbox default="${h.inferHudsonURL(request)}" />
</f:entry>
<f:advanced>
<f:optionalBlock name="useSMTPAuth" title="${%Use SMTP Authentication}" checked="${descriptor.smtpAuthUserName!=null}"
help="/help/tasks/mailer/smtpAuth.html">
......
<div>
Optionally specify the HTTP address of the Jenkins installation, such
as <tt>http://yourhost.yourdomain/jenkins/</tt>. This value is used to
put links into e-mails generated by Jenkins.
let Jenkins know how to refer to itself, ie. for links to images and
links in emails.
<p>
This is necessary because Jenkins cannot reliably detect such a URL
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册