Interface Agent

    • Field Detail

      • DISTRIBUTION_ARCH_NAME

        static final java.lang.String DISTRIBUTION_ARCH_NAME
        See Also:
        Constant Field Values
      • AGENT_UPDATE_CONTENTS_XML

        static final java.lang.String AGENT_UPDATE_CONTENTS_XML
        See Also:
        Constant Field Values
      • AGENT_UPDATE_CONTENTS_PATH_NEW

        static final java.lang.String AGENT_UPDATE_CONTENTS_PATH_NEW
        See Also:
        Constant Field Values
      • AGENT_UPDATE_CONTENTS_PATH

        static final java.lang.String AGENT_UPDATE_CONTENTS_PATH
        See Also:
        Constant Field Values
      • AGENT_PLUGIN_PART_NAME

        static final java.lang.String AGENT_PLUGIN_PART_NAME
        See Also:
        Constant Field Values
      • AGENT_PLUGIN_NAMES_FILTER

        static final java.io.FileFilter AGENT_PLUGIN_NAMES_FILTER
      • AGENT_PLUGIN_NAME_FILTER

        static final java.io.FilenameFilter AGENT_PLUGIN_NAME_FILTER
        Since:
        8.0
    • Method Detail

      • runBuild

        java.lang.String runBuild​(java.lang.String serializedAgentBuild)
        Starts a build on agent
        Parameters:
        serializedAgentBuild - serialized AgentBuild
        Returns:
        serialized BuildAgentResult
      • stopBuild

        boolean stopBuild()
        Notifies currently running build to stop
        Returns:
        is ignored
      • upgrade

        boolean upgrade​(java.util.Vector pluginNames)
        Initiates build agent upgrade.
        Parameters:
        pluginNames - plugin file names (i.e. antPlugin.zip)
        Returns:
        true if accepted
      • ping2

        java.lang.String ping2()
        Returns:
        agent ping code
        Since:
        8.1