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:
-
Setting agent-side breakpoints (see Using Breakpoints)
-
Configuring agent log rotation (see Configuring Agent Log Rotation)
-
Getting and setting agent and EFS debug levels (see the KBEA-00020 - Getting and setting Agent and EFS debug levels KB article)
-
Configuring the stalled job killer (see the KBEA-00031 - Configuring the Windows stalled job killer KB article)
-
Troubleshooting builds that appear to hang (see the KBEA-00036 - Fixing builds that appear to hang KB article)