Struct jenkins_api::job::MatrixProject [−][src]
pub struct MatrixProject { pub name: String, pub display_name: String, pub full_display_name: String, pub full_name: String, pub display_name_or_null: Option<String>, pub url: String, pub color: BallColor, pub buildable: bool, pub keep_dependencies: bool, pub next_build_number: u32, pub in_queue: bool, pub actions: Vec<Option<CommonAction>>, pub last_build: Option<ShortBuild<MatrixBuild>>, pub first_build: Option<ShortBuild<MatrixBuild>>, pub last_stable_build: Option<ShortBuild<MatrixBuild>>, pub last_unstable_build: Option<ShortBuild<MatrixBuild>>, pub last_successful_build: Option<ShortBuild<MatrixBuild>>, pub last_unsuccessful_build: Option<ShortBuild<MatrixBuild>>, pub last_completed_build: Option<ShortBuild<MatrixBuild>>, pub last_failed_build: Option<ShortBuild<MatrixBuild>>, pub builds: Vec<ShortBuild>, pub health_report: Vec<HealthReport>, pub queue_item: Option<ShortQueueItem>, pub description: String, pub concurrent_build: bool, pub scm: CommonSCM, pub active_configurations: Vec<ShortJob<MatrixConfiguration>>, pub upstream_projects: Vec<ShortJob>, pub downstream_projects: Vec<ShortJob>, pub label_expression: Option<String>, // some fields omitted }
A matrix project
Fields
name: String
Name of the job
display_name: String
Display Name of the job
full_display_name: String
Full Display Name of the job
full_name: String
Full Name of the job
display_name_or_null: Option<String>
Display Name of the job
url: String
URL for the job
color: BallColor
Ball Color for the status of the job
buildable: bool
Is the job buildable?
keep_dependencies: bool
Are dependencies kept for this job?
next_build_number: u32
Next build number
in_queue: bool
Is this job currently in build queue
actions: Vec<Option<CommonAction>>
Actions of a job
last_build: Option<ShortBuild<MatrixBuild>>
Link to the last build
first_build: Option<ShortBuild<MatrixBuild>>
Link to the first build
last_stable_build: Option<ShortBuild<MatrixBuild>>
Link to the last stable build
last_unstable_build: Option<ShortBuild<MatrixBuild>>
Link to the last unstable build
last_successful_build: Option<ShortBuild<MatrixBuild>>
Link to the last successful build
last_unsuccessful_build: Option<ShortBuild<MatrixBuild>>
Link to the last unsucressful build
last_completed_build: Option<ShortBuild<MatrixBuild>>
Link to the last complete build
last_failed_build: Option<ShortBuild<MatrixBuild>>
Link to the last failed build
builds: Vec<ShortBuild>
List of builds of the job
health_report: Vec<HealthReport>
HealthReport of the job
queue_item: Option<ShortQueueItem>
Queue item of this job if it's waiting
description: String
Description of the job
concurrent_build: bool
Is concurrent build enabled for the job?
scm: CommonSCM
SCM configured for the job
active_configurations: Vec<ShortJob<MatrixConfiguration>>
Configurations for the job
upstream_projects: Vec<ShortJob>
List of the upstream projects
downstream_projects: Vec<ShortJob>
List of the downstream projects
label_expression: Option<String>
Label expression
Trait Implementations
impl Debug for MatrixProject
[src]
impl Debug for MatrixProject
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 Job for MatrixProject
[src]
impl Job for MatrixProject
fn url(&self) -> &str
[src]
fn url(&self) -> &str
get the url of a Job
fn name(&self) -> &str
[src]
fn name(&self) -> &str
Get the name of the project
fn enable(&self, jenkins_client: &Jenkins) -> Result<(), Error>
[src]
fn enable(&self, jenkins_client: &Jenkins) -> Result<(), Error>
Enable a Job
. It may need to be refreshed as it may have been updated
fn disable(&self, jenkins_client: &Jenkins) -> Result<(), Error>
[src]
fn disable(&self, jenkins_client: &Jenkins) -> Result<(), Error>
Disable a Job
. It may need to be refreshed as it may have been updated
fn add_to_view<'a, V>(
&self,
jenkins_client: &Jenkins,
view_name: V
) -> Result<(), Error> where
V: Into<ViewName<'a>>,
[src]
fn add_to_view<'a, V>(
&self,
jenkins_client: &Jenkins,
view_name: V
) -> Result<(), Error> where
V: Into<ViewName<'a>>,
Add this job to the view view_name
fn remove_from_view<'a, V>(
&self,
jenkins_client: &Jenkins,
view_name: V
) -> Result<(), Error> where
V: Into<ViewName<'a>>,
[src]
fn remove_from_view<'a, V>(
&self,
jenkins_client: &Jenkins,
view_name: V
) -> Result<(), Error> where
V: Into<ViewName<'a>>,
Remove this job from the view view_name
impl Class for MatrixProject
[src]
impl Class for MatrixProject
fn with_class() -> &'static str
[src]
fn with_class() -> &'static str
Should reply the _class provided by Jenkins for a type
impl BuildableJob for MatrixProject
[src]
impl BuildableJob for MatrixProject
fn build(&self, jenkins_client: &Jenkins) -> Result<ShortQueueItem, Error>
[src]
fn build(&self, jenkins_client: &Jenkins) -> Result<ShortQueueItem, Error>
Build this job
fn builder<'a, 'b, 'c, 'd>(
&'a self,
jenkins_client: &'b Jenkins
) -> Result<JobBuilder<'a, 'b, 'c, 'd>, Error>
[src]
fn builder<'a, 'b, 'c, 'd>(
&'a self,
jenkins_client: &'b Jenkins
) -> Result<JobBuilder<'a, 'b, 'c, 'd>, Error>
Create a JobBuilder
to setup a build of a Job
impl SCMPollable for MatrixProject
[src]
impl SCMPollable for MatrixProject
Auto Trait Implementations
impl Send for MatrixProject
impl Send for MatrixProject
impl Sync for MatrixProject
impl Sync for MatrixProject