[][src]Struct concourse_resource::BuildMetadata

pub struct BuildMetadata {
    pub id: String,
    pub name: Option<u32>,
    pub job_name: Option<String>,
    pub pipeline_name: Option<String>,
    pub team_name: String,
    pub atc_external_url: String,
}

When used in a "get" or "put" step, metadata about the running build is made available via environment variables.

If the build is a one-off, build_name, build_job_name, and build_pipeline_name will be None.

Concourse documentation

Fields

id: String

The internal identifier for the build. Right now this is numeric but it may become a guid in the future. Treat it as an absolute reference to the build.

name: Option<u32>

The build number within the build's job.

job_name: Option<String>

The name of the build's job.

pipeline_name: Option<String>

The pipeline that the build's job lives in.

team_name: String

The team that the build belongs to.

atc_external_url: String

The public URL for your ATC; useful for debugging.

Trait Implementations

impl Debug for BuildMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]