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"/>
4
<script type="text/javascript">
5
function updateBranchName(repoPath) {
6
if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
7
$('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
11
<table class="runnerFormTable">
13
<l:settingsGroup title="General Settings">
15
<th><label for="bzrCommandPath">Bzr command path: <l:star/></label></th>
16
<td><props:textProperty name="bzrCommandPath" className="longField" />
17
<span class="error" id="error_bzrCommandPath"></span></td>
20
<th><label for="repositoryPath">Pull changes from: <l:star/></label></th>
21
<td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
22
<span class="error" id="error_repositoryPath"></span></td>
25
<th><label for="branchName">Branch name: </label></th>
26
<td><props:textProperty name="branchName" /></td>
29
<l:settingsGroup title="Authorization settings">
31
<td colspan="2">You may require to provide authorization settings if you need to tag / label sources in the remote repository.</td>
34
<th><label for="username">User name:</label></th>
35
<td><props:textProperty name="username"/></td>
38
<th><label for="secure:password">Password:</label></th>
39
<td><props:passwordProperty name="secure:password"/></td>
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"/>
4
<script type="text/javascript">
5
function updateBranchName(repoPath) {
6
if (repoPath.indexOf('#') != -1 && $('branchName').value == '') {
7
$('branchName').value = repoPath.substring(repoPath.indexOf('#')+1);
11
<table class="runnerFormTable">
13
<l:settingsGroup title="General Settings">
15
<th><label for="bzrCommandPath">Bzr command path: <l:star/></label></th>
16
<td><props:textProperty name="bzrCommandPath" className="longField" />
17
<span class="error" id="error_bzrCommandPath"></span></td>
20
<th><label for="repositoryPath">Pull changes from: <l:star/></label></th>
21
<td><props:textProperty name="repositoryPath" className="longField" onchange="updateBranchName(this.value)"/>
22
<span class="error" id="error_repositoryPath"></span></td>
25
<th><label for="branchName">Branch name: </label></th>
26
<td><props:textProperty name="branchName" /></td>
29
<l:settingsGroup title="Authorization settings">
31
<td colspan="2">You may require to provide authorization settings if you need to tag / label sources in the remote repository.</td>
34
<th><label for="username">User name:</label></th>
35
<td><props:textProperty name="username"/></td>
38
<th><label for="secure:password">Password:</label></th>
39
<td><props:passwordProperty name="secure:password"/></td>