buildkite-agent stop
The Buildkite Agent's stop
command is used to manually stop a running Buildkite Agent.
Stopping an agent
Usage
buildkite-agent stop [options...]
Description
Stop the current agent.
Example
# Stops the agent gracefully after any currently running job completes
$ buildkite-agent stop
# Stops the agent, cancelling any currently running job
$ buildkite-agent stop --force
Options
--force #
|
Cancel any currently running job |
---|---|
--agent-access-token value #
|
The access token used to identify the agent |
--endpoint value #
|
The Agent API endpoint (default: " |
--no-http2 #
|
Disable HTTP2 when communicating with the Agent API. |
--debug-http #
|
Enable HTTP debug mode, which dumps all request and response bodies to the log |
--no-color #
|
Don't show colors in logging |
--debug #
|
Enable debug mode. Synonym for `--log-level debug`. Takes precedence over `--log-level` |
--log-level value #
|
Set the log level for the agent, making logging more or less verbose. Defaults to notice. Allowed values are: debug, info, error, warn, fatal (default: "notice") |
--experiment value #
|
Enable experimental features within the buildkite-agent |
--profile value #
|
Enable a profiling mode, either cpu, memory, mutex or block |