/hudson-core/src/main/resources/hudson/model/BuildAuthorizationToken/config.jelly
http://github.com/hudson/hudson · Unknown · 48 lines · 43 code · 5 blank · 0 comment · 0 complexity · c12d4ad349f2d07ceb98baa442ad2800 MD5 · raw file
- <!--
- The MIT License
- Copyright (c) 2004-2010, Sun Microsystems, Inc., Kohsuke Kawaguchi,
- Eric Lefevre-Ardant, Seiji Sogabe
- 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.
- -->
- <!--
- Pseudo trigger configuration.
- Note that it is the object that owns BuildAuthorizationToken
- -->
- <?jelly escape-by-default='true'?>
- <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:if test="${app.useSecurity}">
- <f:optionalBlock name="pseudoRemoteTrigger"
- help="/help/project-config/triggerRemotely.html"
- title="${%Trigger builds remotely} (${%e.g., from scripts})"
- checked="${it.authToken!=null}">
- <f:entry title="${%Authentication Token}">
- <f:textbox name="authToken" value="${it.authToken.token}" />
- ${%Use the following URL to trigger build remotely:}
- <tt>HUDSON_URL</tt>/${it.url}build?token=<tt>TOKEN_NAME</tt>
- ${%or}
- /buildWithParameters?token=<tt>TOKEN_NAME</tt>
- <br/>
- ${%Optionally append <tt>&cause=Cause+Text</tt> to provide text that will be included in the recorded build cause.}
- </f:entry>
- </f:optionalBlock>
- </j:if>
- </j:jelly>