Package io.fabric8.openshift.api.model
Class JenkinsPipelineBuildStrategy
- java.lang.Object
-
- io.fabric8.openshift.api.model.JenkinsPipelineBuildStrategy
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<JenkinsPipelineBuildStrategyBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class JenkinsPipelineBuildStrategy extends Object implements io.fabric8.kubernetes.api.builder.Editable<JenkinsPipelineBuildStrategyBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
JenkinsPipelineBuildStrategy holds parameters specific to a Jenkins Pipeline build. Deprecated: use OpenShift Pipelines- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JenkinsPipelineBuildStrategy()No args constructor for use in serializationJenkinsPipelineBuildStrategy(List<io.fabric8.kubernetes.api.model.EnvVar> env, String jenkinsfile, String jenkinsfilePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JenkinsPipelineBuildStrategyBuilderedit()Map<String,Object>getAdditionalProperties()List<io.fabric8.kubernetes.api.model.EnvVar>getEnv()env contains additional environment variables you want to pass into a build pipeline.StringgetJenkinsfile()jenkinsfile defines the optional raw contents of a Jenkinsfile which defines a Jenkins pipeline build.StringgetJenkinsfilePath()jenkinsfilePath is the optional path of the Jenkinsfile that will be used to configure the pipeline relative to the root of the context (contextDir).voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEnv(List<io.fabric8.kubernetes.api.model.EnvVar> env)env contains additional environment variables you want to pass into a build pipeline.voidsetJenkinsfile(String jenkinsfile)jenkinsfile defines the optional raw contents of a Jenkinsfile which defines a Jenkins pipeline build.voidsetJenkinsfilePath(String jenkinsfilePath)jenkinsfilePath is the optional path of the Jenkinsfile that will be used to configure the pipeline relative to the root of the context (contextDir).JenkinsPipelineBuildStrategyBuildertoBuilder()
-
-
-
Method Detail
-
getEnv
public List<io.fabric8.kubernetes.api.model.EnvVar> getEnv()
env contains additional environment variables you want to pass into a build pipeline.
-
setEnv
public void setEnv(List<io.fabric8.kubernetes.api.model.EnvVar> env)
env contains additional environment variables you want to pass into a build pipeline.
-
getJenkinsfile
public String getJenkinsfile()
jenkinsfile defines the optional raw contents of a Jenkinsfile which defines a Jenkins pipeline build.
-
setJenkinsfile
public void setJenkinsfile(String jenkinsfile)
jenkinsfile defines the optional raw contents of a Jenkinsfile which defines a Jenkins pipeline build.
-
getJenkinsfilePath
public String getJenkinsfilePath()
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.
-
setJenkinsfilePath
public void setJenkinsfilePath(String jenkinsfilePath)
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.
-
edit
public JenkinsPipelineBuildStrategyBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<JenkinsPipelineBuildStrategyBuilder>
-
toBuilder
public JenkinsPipelineBuildStrategyBuilder toBuilder()
-
-