Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTriggerFlags ¶ added in v1.18.0
func AddTriggerFlags(cmd *cobra.Command, opts *run.TriggerOptions)
AddTriggerFlags registers the flags shared by `circleci run trigger` and `circleci pipeline run`, so the two commands accept the same input.
func FailureReport ¶ added in v1.15.0
FailureReport prints condensed output for every failed step in the run, organised as workflow → job → execution → step headers, followed by next steps. It is the output path for --failure-report (on "run get" and "my runs") and never enters the TUI.
Output is written to stdout so it can be piped directly into an agent's context window. Empty output (no failed steps, or run not in a failed state) is valid and exits 0.
func TimingReport ¶ added in v1.19.0
TimingReport prints every job in the run with its duration, slowest first, followed by the run's wall clock and the commands that drill into the slowest job. It is the output path for --timing on "run get" and never enters the TUI: the performance twin of FailureReport.
It reads the same two endpoints "run get" does (the run's workflows and each workflow's jobs), so it costs no request per job. Output is written to stdout so it can be piped directly into an agent's context window.
Types ¶
This section is empty.