Package jetbrains.buildServer.agent.vcs
Interface CheckoutOnAgentVcsSupport
-
- All Superinterfaces:
AgentExtension
,TeamCityExtension
@Deprecated public interface CheckoutOnAgentVcsSupport extends AgentExtension
Deprecated.use provide severalAgentVcsExtension
implementations. For more details, seeAgentVcsRegistry
Implement this interface to provide checkout on agent support for VCS plugin.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
getName()
Deprecated.Name of the VCS plugin.void
updateSources(BuildProgressLogger logger, java.io.File workingDirectory, VcsRoot root, java.lang.String newVersion, IncludeRule includeRule)
Deprecated.Called to update sources in the specified working directory.
-
-
-
Method Detail
-
updateSources
void updateSources(@NotNull BuildProgressLogger logger, @NotNull java.io.File workingDirectory, @NotNull VcsRoot root, @NotNull java.lang.String newVersion, @NotNull IncludeRule includeRule) throws VcsException
Deprecated.Called to update sources in the specified working directory. Sources must be updated to the specified version. BuildProgressLogger can be used to add messages in the build log.- Parameters:
logger
- build progress loggerworkingDirectory
- working directory where sources will be updated (root directory for the sources)root
- VCS rootnewVersion
- version to update sources toincludeRule
- checkout rule to consider during sources updating- Throws:
VcsException
- if any error occurs preventing sources update
-
getName
@NotNull java.lang.String getName()
Deprecated.Name of the VCS plugin. Should be the same as jetbrains.buildServer.vcs.VcsSupport#getName- Returns:
- see above
-
-