Package jetbrains.buildServer.agent.runner
-
Interface Summary Interface Description BuildCommandLineProcessor This extension can be used to customize build process command line.BuildProgressLoggerAware CommandExecution Represents a process description to start withMultiCommandBuildSession
CommandLineBuildServiceFactory Build runner interface to run processesMultiCommandBuildSession Represents multi-process build runner.MultiCommandBuildSessionFactory Represent multiple processes build runners APIProcessListener Listener interface for notification from running process To implement this interface, extendProcessListenerAdapter
ProgramCommandLine interface providing information to start the processTextLineFilter.Action -
Class Summary Class Description BuildServiceAdapter ExtendsCommandLineBuildService
interface.CommandLineBuildService Represents process run parameters that checks processes exit code regardingAgentRunningBuild.getFailBuildOnExitCode()
build configuration option kill all agent child processes on build interrupt returnsLoggingProcessListener
to log all process output to the build log UseBuildServiceAdapter
to simplify code.JavaCommandLineBuilder JavaCommandLineBuilder.JavaVersionProvider JavaRunnerUtil LoggingProcessListener Default implementation ofProcessListener
that log all process output to the build log log process commandline and working dir on start log process exit code on process finishLogLastLinesProcessListener Process listener which is able to add last process's output lines to the build log.ProcessListenerAdapter SimpleProgramCommandLine Base implementation forProgramCommandLine
sets default working directory for process fromBuildRunnerContext.getWorkingDirectory()
sets default build process environment from build parametersBuildRunnerContext.getBuildParameters()
=>BuildParametersMap.getEnvironmentVariables()
TextLineFilter Collects text lines and calls specified action when line ends with \n or \r Note: text passed to the action will not have \r and \n characters -
Enum Summary Enum Description TerminationAction defines how build agent should stop running build process -
Exception Summary Exception Description CannotBuildCommandLineException