Class 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 Detail

      • JenkinsPipelineBuildStrategy

        public JenkinsPipelineBuildStrategy()
        No args constructor for use in serialization
      • JenkinsPipelineBuildStrategy

        public JenkinsPipelineBuildStrategy​(List<io.fabric8.kubernetes.api.model.EnvVar> env,
                                            String jenkinsfile,
                                            String jenkinsfilePath)
    • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)