Package jetbrains.buildServer.agent
Interface CurrentBuildTracker
-
public interface CurrentBuildTracker
Interface for getting currently running build
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentRunningBuild
getCurrentBuild()
Returns running build or throws an exception if no running buildboolean
isRunningBuild()
-
-
-
Method Detail
-
getCurrentBuild
@NotNull AgentRunningBuild getCurrentBuild() throws NoRunningBuildException
Returns running build or throws an exception if no running build- Returns:
- running build
- Throws:
NoRunningBuildException
- if there is no running build
-
isRunningBuild
boolean isRunningBuild()
- Returns:
- whether build is running on agent now
-
-