提交 97e3643c 编写于 作者: K kohsuke

making more configuration pieces individually reusable.


git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@3508 71c3de6d-444a-0410-be80-ed276b4c234a
上级 176b8fb0
<!--
Config page
-->
<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">
<!-- build triggers config pane -->
<f:triggerDescriptorList>
<!-- pseudo-trigger to configure URL to trigger builds remotely. -->
<st:include page="/hudson/model/BuildAuthorizationToken/config.jelly" />
</f:triggerDescriptorList>
<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" xmlns:p="/lib/hudson/project">
<p:config-trigger />
<f:section title="Build">
<f:entry title="Goals" help="/help/maven/module-goals.html">
......
<!--
Config page.
-->
<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" xmlns:i="jelly:fmt">
<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" xmlns:i="jelly:fmt" xmlns:p="/lib/hudson/project">
<st:include page="configure-common.jelly" />
<!-- build triggers config pane -->
<f:triggerDescriptorList>
<!-- pseudo-trigger to configure URL to trigger builds remotely. -->
<st:include page="/hudson/model/BuildAuthorizationToken/config.jelly" />
</f:triggerDescriptorList>
<p:config-trigger/>
<f:section title="Build">
<j:set var="mavens" value="${it.descriptor.mavenDescriptor.installations}" />
......
<!--
Config page
-->
<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">
<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" xmlns:p="/lib/hudson/project">
<st:include page="configure-common.jelly" />
<!-- build triggers config pane -->
<f:triggerDescriptorList>
<p:config-trigger>
<!-- pseudo-trigger to list upstream projects. -->
<j:set var="up" value="${it.upstreamProjects}" />
<f:optionalBlock name="pseudoUpstreamTrigger"
......@@ -20,9 +18,7 @@
type="text" value="${h.getProjectListString(up)}"/>
</f:entry>
</f:optionalBlock>
<!-- pseudo-trigger to configure URL to trigger builds remotely. -->
<st:include page="/hudson/model/BuildAuthorizationToken/config.jelly" />
</f:triggerDescriptorList>
</p:config-trigger>
<!-- build wrapper config pane -->
......
<!-- display a list of trigger configurations applicable to "it" -->
<!--
Configure build triggers
-->
<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">
<!-- build triggers config pane -->
<j:invokeStatic var="triggers" className="hudson.triggers.Triggers" method="getApplicableTriggers">
......@@ -9,5 +11,7 @@
instances="${it.triggers}"
varName="trigger">
<d:invokeBody />
<!-- pseudo-trigger to configure URL to trigger builds remotely. -->
<st:include page="/hudson/model/BuildAuthorizationToken/config.jelly" />
</f:descriptorList>
</j:jelly>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册