...
Version is used in several places:
- for changes collecting
- for patch construction
- when content of the file is retrieved from the repository
- for labeling / tagging
TeamCity does not show Versions in the UI directly. For UI, TeamCity converts a Version to its display name using VcsSupport#getVersionDisplayName(String, VcsRoot).
...
Code Block |
---|
class SomeVcsSupport implements VcsSupport { ... public SomeVcsSupport(VcsManager manager) { manager.registerVcsSupport(this); } ... |
Wiki Markup | ||
---|---|---|
{show-if | ||
:mode | edit | ChallengesTODO (detecting versions, grouping changes into modifications, handling checkout=edit} h2. Challenges TODO (detecting versions, grouping changes into modifications, handling checkout rules...) {show-if} |
Server side caches
By default, server caches clean patches created by VCS plugins, because on large repositories clean patch construction can take significant time. If clean patches created by your VCS plugin must not be cached, you should return true from the method VcsSupport#ignoreServerCachesFor(VcsRoot).
...
To create agent side checkout, implement
Tc javadoc | ||||
---|---|---|---|---|
|
Tc javadoc | ||||
---|---|---|---|---|
|
...
See Also:
- Extending TeamCity: Developing TeamCity Plugins | Typical Plugins