Struct jenkins_api::build::MatrixBuild [−][src]
pub struct MatrixBuild { pub url: String, pub number: u32, pub duration: i64, pub estimated_duration: i64, pub timestamp: u64, pub keep_log: bool, pub result: Option<BuildStatus>, pub display_name: String, pub full_display_name: String, pub description: Option<String>, pub building: bool, pub id: String, pub queue_id: i32, pub actions: Vec<CommonAction>, pub artifacts: Vec<Artifact>, pub change_set: CommonChangeSetList, pub runs: Vec<ShortBuild<MatrixRun>>, pub built_on: String, pub culprits: Vec<ShortUser>, }
A Build
from a MatrixProject
Fields
url: String
URL for the build
number: u32
Build number for this job
duration: i64
Duration
estimated_duration: i64
Estimated duration
timestamp: u64
Timestamp of the build start
keep_log: bool
Are the logs kept?
result: Option<BuildStatus>
Build result
display_name: String
Display name, usually "#" followed by the build number
full_display_name: String
Full display name: job name followed by the build display name
description: Option<String>
Build description
building: bool
Is this build currently running
id: String
Build number in string format
queue_id: i32
ID while in the build queue
actions: Vec<CommonAction>
Build actions
artifacts: Vec<Artifact>
Artifacts saved by archived by this build
change_set: CommonChangeSetList
Change set for this build
runs: Vec<ShortBuild<MatrixRun>>
Runs of each configuration
built_on: String
Which slave was it build on
culprits: Vec<ShortUser>
List of user ids who made a change since the last non-broken build
Trait Implementations
impl Debug for MatrixBuild
[src]
impl Debug for MatrixBuild
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Build for MatrixBuild
[src]
impl Build for MatrixBuild
type ParentJob = MatrixProject
Type of the job that triggered this build
fn url(&self) -> &str
[src]
fn url(&self) -> &str
Get the url of a build
fn get_job(&self, jenkins_client: &Jenkins) -> Result<Self::ParentJob, Error> where
Self::ParentJob: Deserialize<'de>,
[src]
fn get_job(&self, jenkins_client: &Jenkins) -> Result<Self::ParentJob, Error> where
Self::ParentJob: Deserialize<'de>,
Get the Job
from a Build
fn get_console(&self, jenkins_client: &Jenkins) -> Result<String, Error>
[src]
fn get_console(&self, jenkins_client: &Jenkins) -> Result<String, Error>
Get the console output from a Build
impl Class for MatrixBuild
[src]
impl Class for MatrixBuild
fn with_class() -> &'static str
[src]
fn with_class() -> &'static str
Should reply the _class provided by Jenkins for a type
Auto Trait Implementations
impl Send for MatrixBuild
impl Send for MatrixBuild
impl Sync for MatrixBuild
impl Sync for MatrixBuild