Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrowseCmd ¶
type BrowseCmd struct {
// Build is an optional build reference. It may be a build number, an
// "org/pipeline/number" slug, or a full buildkite.com build URL. When
// omitted, the resolved pipeline page is opened instead.
Build string `arg:"" optional:"" help:"Build number, org/pipeline/number slug, or build URL to open. Omit to open the pipeline page."`
Pipeline string `help:"The pipeline to use. This can be a {pipeline slug} or in the format {org slug}/{pipeline slug}." short:"p"`
Branch string `help:"Filter the pipeline builds list to this branch. Defaults to the current git branch." short:"b"`
AllBranches bool `help:"Open the pipeline builds list without a branch filter." name:"all-branches"`
Settings bool `help:"Open the pipeline's settings page." short:"s"`
NoBrowser bool `help:"Print destination URL instead of opening the browser." short:"n" name:"no-browser"`
}
BrowseCmd opens Buildkite resources in a web browser, resolving the pipeline from the current project (or flags) the same way other commands do.
When the pipeline page is opened (no build number, no --settings), the builds list is filtered to the current git branch by default. Use --branch to filter to a specific branch, or --all-branches to show the unfiltered list.
Click to show internal directories.
Click to hide internal directories.