Struct jenkins_api::job::MavenModule
source · pub struct MavenModule {Show 29 fields
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<MavenBuild>>,
pub first_build: Option<ShortBuild<MavenBuild>>,
pub last_stable_build: Option<ShortBuild<MavenBuild>>,
pub last_unstable_build: Option<ShortBuild<MavenBuild>>,
pub last_successful_build: Option<ShortBuild<MavenBuild>>,
pub last_unsuccessful_build: Option<ShortBuild<MavenBuild>>,
pub last_completed_build: Option<ShortBuild<MavenBuild>>,
pub last_failed_build: Option<ShortBuild<MavenBuild>>,
pub builds: Vec<ShortBuild>,
pub health_report: Vec<HealthReport>,
pub queue_item: Option<ShortQueueItem>,
pub description: Option<String>,
pub concurrent_build: bool,
pub scm: CommonSCM,
pub upstream_projects: Vec<ShortJob>,
pub downstream_projects: Vec<ShortJob>,
pub label_expression: Option<String>,
/* private fields */
}
Expand description
A maven module
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<MavenBuild>>
Link to the last build
first_build: Option<ShortBuild<MavenBuild>>
Link to the first build
last_stable_build: Option<ShortBuild<MavenBuild>>
Link to the last stable build
last_unstable_build: Option<ShortBuild<MavenBuild>>
Link to the last unstable build
last_successful_build: Option<ShortBuild<MavenBuild>>
Link to the last successful build
last_unsuccessful_build: Option<ShortBuild<MavenBuild>>
Link to the last unsucressful build
last_completed_build: Option<ShortBuild<MavenBuild>>
Link to the last complete build
last_failed_build: Option<ShortBuild<MavenBuild>>
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: Option<String>
Description of the job
concurrent_build: bool
Is concurrent build enabled for the job?
scm: CommonSCM
SCM configured 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§
source§impl Class for MavenModule
impl Class for MavenModule
source§fn with_class() -> &'static str
fn with_class() -> &'static str
source§impl Debug for MavenModule
impl Debug for MavenModule
source§impl<'de> Deserialize<'de> for MavenModule
impl<'de> Deserialize<'de> for MavenModule
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl Job for MavenModule
impl Job for MavenModule
source§fn enable(&self, jenkins_client: &Jenkins) -> Result<(), Error>
fn enable(&self, jenkins_client: &Jenkins) -> Result<(), Error>
Job
. It may need to be refreshed as it may have been updatedsource§fn disable(&self, jenkins_client: &Jenkins) -> Result<(), Error>
fn disable(&self, jenkins_client: &Jenkins) -> Result<(), Error>
Job
. It may need to be refreshed as it may have been updated