run

package
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 31 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func FailureReport(ctx context.Context, client *apiclient.Client, r *apiclient.RunV3) error

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 NewRunCmd

func NewRunCmd() *cobra.Command

NewRunCmd returns the "circleci run" command group.

func TimingReport added in v1.19.0

func TimingReport(ctx context.Context, client *apiclient.Client, r *apiclient.RunV3) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL