Using runAgentCmd

1 minute read
Exercise caution when using the runAgentCmd command. CloudBees recommends using this command for documented scenarios only or under the direction of CloudBees technical support.

The runAgentCmd command enables you to run agent commands against the cluster.

Use this format:

cmtool --cm=<cluster_manager> runAgentCmd "agent_command_to_run"

where <cluster_manager> is the IP address or name of your Cluster Manager.

The possible reasons for using runAgentCmd include: