该命令用于查看或清除日志。 1 2 3 4 5 6 7 8 9 10 11 12 NAME: drone log - manage logs USAGE: drone log [global options] command [command options] [arguments...] COMMANDS: purge purge a log view display the step logs GLOBAL OPTIONS: --help, -h show help 查看日志: 1 drone log view <repo/name> <build> <stage> <step> 以下是命令示例: 1 drone log view octocat/hello-world 19 1 3 清除日志: 1 drone log purge <repo/name> <build> <stage> <step> 以下是命令示例: 1 drone log purge octocat/hello-world 19 1 3