ezgh build logs [pipeline] --failed [flags]Show a pipeline’s failed tasks: each one’s name, exit code and the last 40 lines of its log; with --json, {“pipeline”, “failed”: [{“task”, “exitCode”, “logTail”}]}.
Without a pipeline it is the connection’s newest pipeline of your checkout’s HEAD commit.
Part of ezgh build.
Examples
ezgh build logs --failed
ezgh build logs bld_4k2m9x0a7qpe --failed --jsonFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--connection |
string | the connection, when the project has more than one and no pipeline is named | |
--failed |
boolean | the failed tasks (the only form for now) |
Inherited from parent commands:
| Flag | Type | Default | Description |
|---|---|---|---|
--dir |
string | . |
the repository’s checkout (any directory inside it) |
--json |
boolean | print JSON, as -o json does |
This command also takes the global flags.