Interface CheckoutOnAgentVcsSupport

All Superinterfaces:
AgentExtension, jetbrains.buildServer.TeamCityExtension

public interface CheckoutOnAgentVcsSupport
extends AgentExtension

Implement this interface to provide checkout on agent support for VCS plugin.

Method Summary
 java.lang.String getName()
          Name of the VCS plugin.
 void updateSources(jetbrains.buildServer.agent.BuildProgressLogger logger, workingDirectory, jetbrains.buildServer.vcs.VcsRoot root, java.lang.String newVersion, jetbrains.buildServer.vcs.IncludeRule includeRule)
          Called to update sources in the specified working directory.

Method Detail


void updateSources(@NotNull
                   jetbrains.buildServer.agent.BuildProgressLogger logger,
                   jetbrains.buildServer.vcs.VcsRoot root,
                   java.lang.String newVersion,
                   jetbrains.buildServer.vcs.IncludeRule includeRule)
                   throws jetbrains.buildServer.vcs.VcsException
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.

logger - build progress logger
workingDirectory - working directory where sources will be updated (root directory for the sources)
root - VCS root
newVersion - version to update sources to
includeRule - checkout rule to consider during sources updating
jetbrains.buildServer.vcs.VcsException - if any error occurs preventing sources update


java.lang.String getName()
Name of the VCS plugin. Should be the same as VcsSupport.getName()