forked from versionone/VersionOne.Integration.GitSCM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfiguration.xml
More file actions
87 lines (79 loc) · 3.72 KB
/
configuration.xml
File metadata and controls
87 lines (79 loc) · 3.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
<LocalDirectory>./repos</LocalDirectory>
<PollIntervalInSeconds>10</PollIntervalInSeconds>
<VersionOneConnection>
<Path>https://www14.v1host.com/v1sdktesting/</Path>
<UserName>admin</UserName>
<Password>admin</Password>
<!-- true - not use UserName and Password data in authentication-->
<IntegratedAuth>false</IntegratedAuth>
<ProxySettings>
<UseProxy>false</UseProxy>
<Path>http://proxyserver:3128/</Path>
<UserName>proxyUser</UserName>
<Password>proxyUserPass</Password>
</ProxySettings>
</VersionOneConnection>
<GitConnections>
<GitConnection>
<Path>git://github.com/edkennard/Integration.Git.Test1.git</Path>
<Password></Password>
<SshPassphrase></SshPassphrase>
<!-- Specify a single branch to watch, or leave blank to watch all branches -->
<WatchedBranchName></WatchedBranchName>
<!--
Set UseBranchName to true to enable parsing the branch name as a VersionOne item ID.
Should only be enabled when a specific branch has been set in WatchedBranchName above,
otherwise when watching all branches commits will be incorrectly associated with
workitems they don't belong to
-->
<UseBranchName>false</UseBranchName>
<Link>
<!-- Add {0} where you want the commit ID to be inserted -->
<NameTemplate>ChangeSet: {0}</NameTemplate>
<UrlTemplate>https://github.com/edkennard/Integration.Git.Test1/commit/{0}</UrlTemplate>
<OnMenu>true</OnMenu>
</Link>
</GitConnection>
<GitConnection>
<Path>git://github.com/edkennard/Integration.Git.Test2.git</Path>
<Password></Password>
<SshPassphrase></SshPassphrase>
<WatchedBranchName></WatchedBranchName>
<UseBranchName>false</UseBranchName>
<Link>
<NameTemplate>ChangeSet: {0}</NameTemplate>
<UrlTemplate>https://github.com/edkennard/Integration.Git.Test2/commit/{0}</UrlTemplate>
<OnMenu>true</OnMenu>
</Link>
</GitConnection>
<GitConnection>
<Path>git://github.com/edkennard/Integration.Git.Test3.git</Path>
<Password></Password>
<SshPassphrase></SshPassphrase>
<WatchedBranchName></WatchedBranchName>
<UseBranchName>false</UseBranchName>
<Link>
<NameTemplate>ChangeSet: {0}</NameTemplate>
<UrlTemplate>https://github.com/account/repo/commit/{0}</UrlTemplate>
<OnMenu>true</OnMenu>
</Link>
</GitConnection>
</GitConnections>
<ChangeSet>
<AlwaysCreate>false</AlwaysCreate>
<NameTemplate>{0} by {1} in {2}</NameTemplate>
<NameTemplateDateFormat>yyyy-MM-dd HH:mm:ss</NameTemplateDateFormat>
<NameTemplateRepositoryFormat>NameOnly</NameTemplateRepositoryFormat>
<ChangeComment>Updated by Git</ChangeComment>
<ReferenceAttribute>Number</ReferenceAttribute>
<!--
=== Sample Regexes ===
To Match S-01001 (Matches "S-01001"): [A-Z]{1,2}-[0-9]+
To match #Reference (matches only "Reference"): (?<=#)[a-zA-Z]+\b
To match "V1:Reference" (matches only "Reference"): (?<=V1:)[a-zA-Z]+\b
-->
<ReferenceExpression><![CDATA[[A-Z]{1,2}-[0-9]+]]></ReferenceExpression>
</ChangeSet>
</Configuration>