Using cmtool

On this page

An invocation of cmtool identifies the Cluster Manager to contact, using the --server command-line option, followed by a list of commands to execute. Certain commands mighty have optional or required arguments.

For example, the following invocation receives all build requests that ran fewer than 10 jobs and orders the list [that ran the build] by host name.

cmtool –-server easerver getBuilds-filter "job_count <10" --order host_name

General syntax for cmtool command usage:

cmtool [optional global argument(s)] <command> <required arguments> [optional arguments]

Return Codes

0 = success (the command was correct; if no data meets the criteria, return is still 0) 1 = failure (command was invalid)