Skip to content

bb admin

Check that the configured Bitbucket answers and accepts your credentials

1 command.

bb admin health
Probe the configured Bitbucket for reachability and authentication

bb admin health

Probe the configured Bitbucket for reachability and authentication

bb admin health

Probe the configured Bitbucket for reachability and authentication: the host every other command would reach, resolved the same way.

bb auth status reports the same thing and more — identity, credential storage, and whether git is set up to authenticate through bb — so prefer that. This stays for scripts that call it.

# Check that the configured Bitbucket answers and accepts your credentials
bb admin health

Also takes the global flags.

Dry run: Runs as usual: this command changes nothing, so there is nothing to hold back

Output with --json, where ? marks a field that can be absent
data
  healthy        boolean  Whether the instance answered at all.
  statusCode     integer  HTTP status the health probe received.
  authenticated  boolean  Whether the configured credential was accepted.
  message?       string   Detail from the instance, when it gave one.