jetbrains.buildServer.serverSide
Interface AgentBuildHistory

All Known Subinterfaces:
SBuildAgent

public interface AgentBuildHistory

Since:
5.1
Author:
Eugene Petrenko

Method Summary
 java.util.List<SFinishedBuild> getBuildHistory(User user, boolean includeCanceled)
          Returns the build history of this agent.
 

Method Detail

getBuildHistory

@NotNull
java.util.List<SFinishedBuild> getBuildHistory(@Nullable
                                                       User user,
                                                       boolean includeCanceled)
Returns the build history of this agent.

The history can be filtered by user, as well as by cancelled builds.

Parameters:
user - if set the result will contain only builds by user
includeCanceled - if set the result will include canceled builds as well
Returns:
build history
Since:
5.0