jetbrains.buildServer.agent
Interface AgentBuildRunner

All Superinterfaces:
AgentExtension, TeamCityExtension

public interface AgentBuildRunner
extends AgentExtension

Build runner interface

If you are going to implement build runner that runs an OS process, consider implemeting CommandLineBuildServiceFactory

In most cases this interface in not needed to be implemented in plugin code.

Since:
6.0
See Also:
CommandLineBuildServiceFactory

Method Summary
 BuildProcess createBuildProcess(AgentRunningBuild runningBuild, BuildRunnerContext context)
          Starts the build asynchronously.
 AgentBuildRunnerInfo getRunnerInfo()
           
 

Method Detail

createBuildProcess

@NotNull
BuildProcess createBuildProcess(@NotNull
                                        AgentRunningBuild runningBuild,
                                        @NotNull
                                        BuildRunnerContext context)
                                throws RunBuildException
Starts the build asynchronously.

Parameters:
build - parameters to start the build
context - runner context containing actual parameters for the run
Returns:
object to control the running build
Throws:
RunBuildException - error creating the build
Since:
6.0

getRunnerInfo

@NotNull
AgentBuildRunnerInfo getRunnerInfo()
Returns:
agent build runner information
Since:
4.0