BuildMaster SDK Reference
Version:

RemoteActionBase Class

The base class for Actions that can execute remotely on a BuildMaster Agent.

Syntax

public class RemoteActionBase : AgentBasedActionBase, Inedo.Diagnostics.ILogger

Constructors

Name Description
RemoteActionBase

Initializes a new instance of the RemoteActionBase class.

Events

Name Description
AfterProcessRemoteCommand

Raised after the Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ProcessRemoteCommand(System.String,System.String[]) method is invoked.

BeforeProcessRemoteCommand

Raised before the Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ProcessRemoteCommand(System.String,System.String[]) method is invoked.

Methods

Name Description
ExecuteRemoteCommand(string name)

Executes the specified Action-defined command against the remotely running agent, which is then processed by the Action-defined Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ProcessRemoteCommand(System.String,System.String[]).

ExecuteRemoteCommand(string name, string[] args)

Executes the specified Action-defined command with the specified Action-defined arguments against the remotely running agent, which is then processed by the Action-defined Inedo.BuildMaster.Extensibility.Actions.RemoteActionBase.ProcessRemoteCommand(System.String,System.String[]).

OnAfterProcessRemoteCommand(System.EventArgs e)

Raises the AfterProcessRemoteCommand event.

OnBeforeProcessRemoteCommand(System.EventArgs e)

Raises the BeforeProcessRemotecommand event.

Remarks

Inheriting from the class will allow an Action to be executed on any server in the BuildMaster UI. For a more specialized class which wraps command-line execution on a remote server, see AgentBasedActionBase. For an Action that will only execute on the BuildMaster server, see ActionBase.