Package io.jenkins.plugins.pipeline
Class PipelineAsYamlWorkflowBranchProjectFactory
java.lang.Object
hudson.model.AbstractDescribableImpl<jenkins.branch.BranchProjectFactory<?,?>>
jenkins.branch.BranchProjectFactory<org.jenkinsci.plugins.workflow.job.WorkflowJob,org.jenkinsci.plugins.workflow.job.WorkflowRun>
org.jenkinsci.plugins.workflow.multibranch.AbstractWorkflowBranchProjectFactory
org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory
io.jenkins.plugins.pipeline.PipelineAsYamlWorkflowBranchProjectFactory
- All Implemented Interfaces:
ExtensionPoint
,Describable<jenkins.branch.BranchProjectFactory<?,
,?>> Saveable
public class PipelineAsYamlWorkflowBranchProjectFactory
extends org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory
Pipeline As YAML Implementation for
WorkflowBranchProjectFactory
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Extension forAbstractWorkflowBranchProjectFactory.AbstractWorkflowBranchProjectFactoryDescriptor
static class
Extension forRunListener
Nested classes/interfaces inherited from class org.jenkinsci.plugins.workflow.multibranch.AbstractWorkflowBranchProjectFactory
org.jenkinsci.plugins.workflow.multibranch.AbstractWorkflowBranchProjectFactory.AbstractWorkflowBranchProjectFactoryDescriptor
Nested classes/interfaces inherited from class jenkins.branch.BranchProjectFactory
jenkins.branch.BranchProjectFactory.HeadByItemImpl, jenkins.branch.BranchProjectFactory.SourceByItemImpl
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPipelineAsYamlWorkflowBranchProjectFactory
(String yamlJenkinsFile) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected org.jenkinsci.plugins.workflow.flow.FlowDefinition
protected jenkins.scm.api.SCMSourceCriteria
getSCMSourceCriteria
(jenkins.scm.api.SCMSource source) void
setYamlJenkinsFile
(String yamlJenkinsFile) Methods inherited from class org.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory
getScriptPath, readResolve, setScriptPath
Methods inherited from class org.jenkinsci.plugins.workflow.multibranch.AbstractWorkflowBranchProjectFactory
getBranch, isProject, newInstance, setBranch
Methods inherited from class jenkins.branch.BranchProjectFactory
asProject, decorate, getDescriptor, getLastSeenRevision, getOwner, getProjectClass, getRevision, save, setLastSeenRevisionHash, setOwner, setRevisionHash
-
Constructor Details
-
PipelineAsYamlWorkflowBranchProjectFactory
Constructor- Parameters:
yamlJenkinsFile
- Path of the Pipeline As Yaml script file in SCM
-
-
Method Details
-
getYamlJenkinsFile
-
setYamlJenkinsFile
-
createDefinition
protected org.jenkinsci.plugins.workflow.flow.FlowDefinition createDefinition()- Overrides:
createDefinition
in classorg.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory
-
getSCMSourceCriteria
protected jenkins.scm.api.SCMSourceCriteria getSCMSourceCriteria(jenkins.scm.api.SCMSource source) - Overrides:
getSCMSourceCriteria
in classorg.jenkinsci.plugins.workflow.multibranch.WorkflowBranchProjectFactory
-