pub struct JenkinsPipelineBuildStrategy {
pub env: Option<Vec<EnvVar>>,
pub jenkinsfile: Option<String>,
pub jenkinsfile_path: Option<String>,
}
Expand description
JenkinsPipelineBuildStrategy holds parameters specific to a Jenkins Pipeline build.
Fields§
§env: Option<Vec<EnvVar>>
env contains additional environment variables you want to pass into a build pipeline.
jenkinsfile: Option<String>
Jenkinsfile defines the optional raw contents of a Jenkinsfile which defines a Jenkins pipeline build.
jenkinsfile_path: Option<String>
JenkinsfilePath is the optional path of the Jenkinsfile that will be used to configure the pipeline relative to the root of the context (contextDir). If both JenkinsfilePath & Jenkinsfile are both not specified, this defaults to Jenkinsfile in the root of the specified contextDir.
Trait Implementations§
Source§impl Clone for JenkinsPipelineBuildStrategy
impl Clone for JenkinsPipelineBuildStrategy
Source§fn clone(&self) -> JenkinsPipelineBuildStrategy
fn clone(&self) -> JenkinsPipelineBuildStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for JenkinsPipelineBuildStrategy
impl Debug for JenkinsPipelineBuildStrategy
Source§impl Default for JenkinsPipelineBuildStrategy
impl Default for JenkinsPipelineBuildStrategy
Source§fn default() -> JenkinsPipelineBuildStrategy
fn default() -> JenkinsPipelineBuildStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for JenkinsPipelineBuildStrategy
impl<'de> Deserialize<'de> for JenkinsPipelineBuildStrategy
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JenkinsPipelineBuildStrategy
impl PartialEq for JenkinsPipelineBuildStrategy
Source§fn eq(&self, other: &JenkinsPipelineBuildStrategy) -> bool
fn eq(&self, other: &JenkinsPipelineBuildStrategy) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for JenkinsPipelineBuildStrategy
Auto Trait Implementations§
impl Freeze for JenkinsPipelineBuildStrategy
impl RefUnwindSafe for JenkinsPipelineBuildStrategy
impl Send for JenkinsPipelineBuildStrategy
impl Sync for JenkinsPipelineBuildStrategy
impl Unpin for JenkinsPipelineBuildStrategy
impl UnwindSafe for JenkinsPipelineBuildStrategy
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more