Edge Runners binary reference

2 minute readReference

The CloudBees Unify Edge runners binary supports several commands and flags to manage and operate the edge runner. Use this reference when configuring, starting, or managing the runner process from the command line.

Commands

CloudBees Unify Edge Runners connects your infrastructure to CloudBees Unify and executes CI/CD tasks.

Table 1. Available commands and flags for the Edge runner binary
Command Description

Usage: cloudbees-runner [command]

-completion

Generate autocompletion scripts for the specific shell.

configure

Configure the CloudBees Unify Edge runner.

delete

Delete the CloudBees Unify Edge runner from the server.

help

Help about any command.

run

Connects the runner to CloudBees Unify.

version

Show CloudBees Unify Edge runner version.

Usage: cloudbees-runner [flags]

-h, --help

Show help information for the edge runner CLI.

Use edge-runner [command] --help for more information about a command.

Configure

Configure CloudBees Unify Edge runners with settings such as server address, labels, and other runtime options. Configuration is saved to config.yaml in the CloudBees Unify Edge runners installation directory. The authentication token from CloudBees Unify is used for initial authentication. A private/public key pair will be generated for future authentication.

Table 2. Available configurations and flags for the Edge runner binary
Command Description

Usage: cloudbees-runner configure [flags]

--container-socket-path string

Override auto-detected container socket path.

--execution-mode strings

Execution mode (native and/or Docker). Repeatable. Defaults to Docker.

-h, --help

Help for configure.

--labels string

Comma-separated list of labels (OS and CPU architecture are added automatically).

--log-level string

Log level (panic, fatal, error, warn, info, debug, trace). Defaults to info.

--name string

Runner name (auto-generated from hostname if not provided).

--no-default-labels

Disable default labels.

--token string

CloudBees authentication token for initial setup and registration.

--token-stdin

Read CloudBees authentication token from stdin instead of --token flag.

--working-dir string

Working directory for runner execution (defaults to current directory).

Run

Start the CloudBees Unify Edge Runners and connect to CloudBees Unify. The runner will load configuration from config.yaml, check for updates, connect to the server, and begin processing tasks. Command-line flags override saved configuration values.

Table 3. Available run and flags for the Edge runner binary
Command Description

Usage: cloudbees-runner run [flags]

--disable-updates

Disable updates from being downloaded and applied automatically.

-h, --help

Help for run.

--log-level string

Set log level (panic, fatal, error, warn, info, debug, trace).

--working-dir string

Override working directory from configuration.

Delete

Delete the CloudBees Unify Edge runners registration from the server. This will remove the runner from the server’s registry and delete the local configuration and key files. This command requires an existing configuration with valid authentication credentials.

Table 4. Available delete and flags for the Edge runner binary
Command Description

Usage: cloudbees-runner delete [flags]

-h, --help

help for delete

--working-dir string

Working directory for runner execution (defaults to current directory).