TW-42648 stop checkout if build was interrupted
authorDmitry Neverov <dmitry.neverov@gmail.com>
Thu, 10 Nov 2016 15:19:40 +0000 (16:19 +0100)
committerDmitry Neverov <dmitry.neverov@gmail.com>
Thu, 10 Nov 2016 15:19:40 +0000 (16:19 +0100)
commit16636c467e4a542f96c9e60daa80c11d7a166959
tree38e857ac50575256567f91a632821bcdadc549dc
parentf17cf333849d263d883ec23bf0785f6132ec4e27
TW-42648 stop checkout if build was interrupted

Now before running git commands plugin checks if the build was
interrupted and throws an error if it's the case. Also it doesn't repeat
attempts to run a command in case of interruption.
18 files changed:
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/BuildContext.java [new file with mode: 0644]
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/Context.java [new file with mode: 0644]
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/GitAgentVcsSupport.java
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/GitCommandLine.java
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/GitFactoryImpl.java
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/GitMetaFactory.java
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/GitMetaFactoryImpl.java
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/NativeGitFacade.java
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/NoBuildContext.java [new file with mode: 0644]
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/UpdaterImpl.java
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/command/impl/CheckoutCanceledException.java [new file with mode: 0644]
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/command/impl/CleanCommandImpl.java
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/command/impl/CommandUtil.java
git-agent/src/jetbrains/buildServer/buildTriggers/vcs/git/agent/command/impl/LsRemoteCommandImpl.java
git-tests/src/jetbrains/buildServer/buildTriggers/vcs/git/tests/AgentVcsSupportTest.java
git-tests/src/jetbrains/buildServer/buildTriggers/vcs/git/tests/GitFactoryProxy.java
git-tests/src/jetbrains/buildServer/buildTriggers/vcs/git/tests/LoggingGitMetaFactory.java
git-tests/src/jetbrains/buildServer/buildTriggers/vcs/git/tests/command/FetchCommandImplTest.java