Interface AgentBuildRunnerInfo


  • @UserImplemented
    public interface AgentBuildRunnerInfo
    Build runner properties
    Since:
    4.0
    Author:
    Eugene Petrenko Created: 07.10.2008 21:16:09
    • Method Detail

      • getType

        @NotNull
        java.lang.String getType()
        Returns:
        name of the runner, should match RunType.getType on the server side
        Since:
        4.0
      • canRun

        boolean canRun​(@NotNull
                       BuildAgentConfiguration agentConfiguration)
        Parameters:
        agentConfiguration - - current build agent configuration
        Returns:
        true if the runner can run builds in the environment of build agent. For example, returning 'false' is a way for a runner to refuse to run on a system that is not supported by the runner If 'false' is returned, the Agent won't register the runner and it won't be advertised to the build server server during agent's registration
        Since:
        4.0