Package jetbrains.buildServer.agent.vcs
Interface CheckoutOnAgentVcsSupport
-
- All Superinterfaces:
AgentExtension,TeamCityExtension
@Deprecated public interface CheckoutOnAgentVcsSupport extends AgentExtension
Deprecated.use provide severalAgentVcsExtensionimplementations. For more details, seeAgentVcsRegistryImplement 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 StringgetName()Deprecated.Name of the VCS plugin.voidupdateSources(BuildProgressLogger logger, File workingDirectory, VcsRoot root, String newVersion, IncludeRule includeRule)Deprecated.Called to update sources in the specified working directory.
-
-
-
Method Detail
-
updateSources
void updateSources(@NotNull BuildProgressLogger logger, @NotNull File workingDirectory, @NotNull VcsRoot root, @NotNull String newVersion, @NotNull IncludeRule includeRule) throws VcsExceptionDeprecated.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 String getName()
Deprecated.Name of the VCS plugin. Should be the same as jetbrains.buildServer.vcs.VcsSupport#getName- Returns:
- see above
-
-