Package jetbrains.buildServer.agent
Interface BuildRunnerPrecondition
-
- All Superinterfaces:
AgentExtension
,TeamCityExtension
public interface BuildRunnerPrecondition extends AgentExtension
- Since:
- 6.0
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
canStart(BuildRunnerContext context)
This method is called before each runner is started.
-
-
-
Method Detail
-
canStart
void canStart(@NotNull BuildRunnerContext context) throws RunBuildException
This method is called before each runner is started. Throw exception from here to interrupt the build This method is called afterAgentLifeCycleListener.beforeRunnerStart(BuildRunnerContext)
and beforeAgentLifeCycleListener.runnerFinished(BuildRunnerContext, BuildFinishedStatus)
- Parameters:
context
- current build step description- Throws:
RunBuildException
- this exception will be interpreted as failed start runner system problem- Since:
- 6.0
-
-