annotate mercurial-server/resources/buildServerResources/mercurialSettings.jsp @ 99:09cca4213a3d Darjeeling-5.0.x

TW-11493
author Pavel.Sher
date Sat, 03 Apr 2010 12:24:57 +0400
parents b328c6b6526d
children 48a9978eaa37
rev   line source
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
1 <%@include file="/include.jsp"%>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
2 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
3 <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
4 <script type="text/javascript">
99
09cca4213a3d TW-11493
Pavel.Sher
parents: 62
diff changeset
5 window.updateBranchName = function(repoPath) {
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
6 if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
7 $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
8 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
9 }
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
10 </script>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
11 <table class="runnerFormTable">
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
12
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
13 <l:settingsGroup title="General Settings">
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
14 <tr>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
15 <th><label for="hgCommandPath">HG command path: <l:star/></label></th>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
16 <td><props:textProperty name="hgCommandPath" className="longField" />
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
17 <span class="error" id="error_hgCommandPath"></span></td>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
18 </tr>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
19 <tr>
13
26505742bae5 disable test connection
Pavel.Sher
parents: 0
diff changeset
20 <th><label for="repositoryPath">Pull changes from: <l:star/></label></th>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
21 <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
22 <span class="error" id="error_repositoryPath"></span></td>
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
23 </tr>
57
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
24 <tr>
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
25 <th><label for="branchName">Branch name: </label></th>
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
26 <td><props:textProperty name="branchName" /></td>
99e757f2527b branches support
Pavel.Sher
parents: 45
diff changeset
27 </tr>
62
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
28 <tr>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
29 <th><label for="serverClonePath">Clone repository to: </label></th>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
30 <td><props:textProperty name="serverClonePath" className="longField"/>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
31 <div class="smallNote" style="margin: 0;">Provide path to a parent directory on TeamCity server where a cloned repository should be created (applicable to "Automatically on server" checkout mode only). Leave blank to use default path.</div>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
32 </td>
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
33 </tr>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
34 </l:settingsGroup>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
35 <l:settingsGroup title="Authorization settings">
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
36 <tr>
62
b328c6b6526d TW-5636: Mercurial plugin can easilly hit Windows MAX_PATH limitations
Pavel.Sher
parents: 57
diff changeset
37 <td colspan="2">Authorization settings can be required if you need to tag / label sources in the remote repository.</td>
45
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
38 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
39 <tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
40 <th><label for="username">User name:</label></th>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
41 <td><props:textProperty name="username"/></td>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
42 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
43 <tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
44 <th><label for="secure:password">Password:</label></th>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
45 <td><props:passwordProperty name="secure:password"/></td>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
46 </tr>
4059fcc5473e ask for credentials on mercurial settings page
Pavel.Sher
parents: 27
diff changeset
47 </l:settingsGroup>
0
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
48
a530ea876f55 mercurial support sources added
Pavel.Sher
parents:
diff changeset
49 </table>