0
|
1 <%@include file="/include.jsp"%>
|
|
2 <%@ taglib prefix="props" tagdir="/WEB-INF/tags/props" %>
|
|
3 <jsp:useBean id="propertiesBean" scope="request" type="jetbrains.buildServer.controllers.BasePropertiesBean"/>
|
57
|
4 <script type="text/javascript">
|
|
5 function updateBranchName(repoPath) {
|
|
6 if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
|
|
7 $('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
|
|
8 }
|
|
9 }
|
|
10 </script>
|
0
|
11 <table class="runnerFormTable">
|
|
12
|
45
|
13 <l:settingsGroup title="General Settings">
|
0
|
14 <tr>
|
|
15 <th><label for="hgCommandPath">HG command path: <l:star/></label></th>
|
|
16 <td><props:textProperty name="hgCommandPath" className="longField" />
|
|
17 <span class="error" id="error_hgCommandPath"></span></td>
|
|
18 </tr>
|
|
19 <tr>
|
13
|
20 <th><label for="repositoryPath">Pull changes from: <l:star/></label></th>
|
57
|
21 <td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
|
0
|
22 <span class="error" id="error_repositoryPath"></span></td>
|
|
23 </tr>
|
57
|
24 <tr>
|
|
25 <th><label for="branchName">Branch name: </label></th>
|
|
26 <td><props:textProperty name="branchName" /></td>
|
|
27 </tr>
|
0
|
28 </l:settingsGroup>
|
45
|
29 <l:settingsGroup title="Authorization settings">
|
|
30 <tr>
|
|
31 <td colspan="2">You may require to provide authorization settings if you need to tag / label sources in the remote repository.</td>
|
|
32 </tr>
|
|
33 <tr>
|
|
34 <th><label for="username">User name:</label></th>
|
|
35 <td><props:textProperty name="username"/></td>
|
|
36 </tr>
|
|
37 <tr>
|
|
38 <th><label for="secure:password">Password:</label></th>
|
|
39 <td><props:passwordProperty name="secure:password"/></td>
|
|
40 </tr>
|
|
41 </l:settingsGroup>
|
0
|
42
|
|
43 </table>
|