pub struct Pipeline {Show 18 fields
pub id: PipelineId,
pub project_id: ProjectId,
pub sha: ObjectId,
pub ref_: Option<String>,
pub status: StatusState,
pub web_url: String,
pub before_sha: Option<ObjectId>,
pub tag: bool,
pub yaml_errors: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub updated_at: Option<DateTime<Utc>>,
pub started_at: Option<DateTime<Utc>>,
pub finished_at: Option<DateTime<Utc>>,
pub committed_at: Option<DateTime<Utc>>,
pub duration: Option<u64>,
pub coverage: Option<String>,
pub user: UserBasic,
pub detailed_status: Value,
}
Expand description
More information about a pipeline in Gitlab CI.
Fields§
§id: PipelineId
The ID of the pipeline.
project_id: ProjectId
The ID of the project holding the pipeline.
sha: ObjectId
The object ID that was tested.
ref_: Option<String>
The name of the reference that was tested.
status: StatusState
The status of the pipeline.
web_url: String
The URL to the pipeline page.
before_sha: Option<ObjectId>
FIXME What are the semantics of this field?
tag: bool
Was this pipeline triggered by a tag.
yaml_errors: Option<String>
Error returned by the parser of gitlab-ci.yml
, if any.
created_at: Option<DateTime<Utc>>
When the pipeline was created.
updated_at: Option<DateTime<Utc>>
When the pipeline was last updated.
started_at: Option<DateTime<Utc>>
When the pipeline began running.
finished_at: Option<DateTime<Utc>>
When the pipeline completed.
committed_at: Option<DateTime<Utc>>
FIXME What are the semantics of this field?
duration: Option<u64>
Duration of pipeline in seconds.
coverage: Option<String>
FIXME What are the semantics of this field?
user: UserBasic
The user who triggered this pipeline.
detailed_status: Value
FIXME: What are the semantics of this field? See https://gitlab.com/gitlab-org/gitlab-foss/blob/master/app/serializers/detailed_status_entity.rb.