Mercurial > hg > mercurial
annotate .hgtags @ 280:8c1fd2e565ae
Implement mercurial detection on the agents
When agent starts, hg-plugin detects installed hg (searches it in the
$PATH). If plugin is able to run hg and hg has an approrpiate version
(1.5.2+), then plugin reports path to hg in the
'teamcity.hg.agent.path' parameter. This parameter can be used in the
"HG command path" field in a VCS root settings, configurations with
such root will be run only on agents which report path to hg. Also
user can set this parameter manually in the buildAgent.properties.
A server side of plugin first checks value of internal property
'teamcity.hg.server.path' and if property is set, its value is used.
Second, plugin tries to use path from the settings of VCS root: if
path is equal to '%teamcity.hg.agent.path%' - use 'hg' as path,
otherwise use a value from the root. With such order old setups, where
path in the VCS root was used on both server and agent, will continue
to work. New VCS roots with references in the path will also work if
hg is in the $PATH on the server or internal property is set.
author | Dmitry Neverov <dmitry.neverov@jetbrains.com> |
---|---|
date | Fri, 19 Aug 2011 15:21:38 +0400 |
parents | 43bb90fd750e |
children | 6be1f6c33f52 73fc84ac1d98 |
rev | line source |
---|---|
231
b454327bcb66
Added tag build-snapshot-124 for changeset 9e60b6d1e5fd
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
diff
changeset
|
1 9e60b6d1e5fd8ed9a0c4b9582facc727a16bdcdb build-snapshot-124 |
232
0b54319af42c
Added tag build-snapshot-125 for changeset b454327bcb66
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
231
diff
changeset
|
2 b454327bcb66c35f17ae171a794d540768fc32b4 build-snapshot-125 |
233
3a41cf31c90e
Added tag build-snapshot-126 for changeset 0b54319af42c
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
232
diff
changeset
|
3 0b54319af42cd1e74c1a658d61ecf1c3e6fc91a1 build-snapshot-126 |
234
9c29eab7a27c
Added tag build-snapshot-127 for changeset 3a41cf31c90e
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
233
diff
changeset
|
4 3a41cf31c90e299237fb1258f9ab363e7e0f9454 build-snapshot-127 |
235
45a4b3169272
Added tag build-snapshot-128 for changeset 9c29eab7a27c
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
234
diff
changeset
|
5 9c29eab7a27c80045948efb1cc094b96b4d82ea5 build-snapshot-128 |
236
ff587c27a2d0
Added tag build-snapshot-129 for changeset 45a4b3169272
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
235
diff
changeset
|
6 45a4b3169272f8d21ff802b25a28e16b46177d26 build-snapshot-129 |
237
9a52e7a891ce
Added tag build-snapshot-130 for changeset ff587c27a2d0
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
236
diff
changeset
|
7 ff587c27a2d07607242cc02919c3db8cd4808ca2 build-snapshot-130 |
238
df6ed5ed6c10
Added tag build-snapshot-131 for changeset 9a52e7a891ce
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
237
diff
changeset
|
8 9a52e7a891ce7bbb0f5df0f94483f1636359e73d build-snapshot-131 |
239
9998e944a4f2
Added tag build-snapshot-133 for changeset df6ed5ed6c10
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
238
diff
changeset
|
9 df6ed5ed6c105ba2c65a3df1e3dc556f7882681b build-snapshot-133 |
240
43bb90fd750e
Added tag build-snapshot-134 for changeset 9998e944a4f2
teamcityserver@APP11.Labs.IntelliJ.Net
parents:
239
diff
changeset
|
10 9998e944a4f2b19d10621d06c230144c5a68204b build-snapshot-134 |