public class ExtendedSCMBinder
extends org.jenkinsci.plugins.workflow.flow.FlowDefinition
| Modifier and Type | Class and Description |
|---|---|
static class |
ExtendedSCMBinder.DescriptorImpl
Descriptor Implementation for
FlowDefinitionDescriptor. |
static class |
ExtendedSCMBinder.HideMe
This method hides Remote Jenkins Plugin from other Pipeline Jobs and make visible to only MultiBranch Pipeline
|
| Constructor and Description |
|---|
ExtendedSCMBinder(String remoteJenkinsFile,
hudson.scm.SCM remoteJenkinsFileSCM,
String scmSourceBranchName,
boolean matchBranches,
String fallbackBranch)
Constructor for the class.
|
| Modifier and Type | Method and Description |
|---|---|
org.jenkinsci.plugins.workflow.flow.FlowExecution |
create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle,
hudson.model.TaskListener listener,
List<? extends hudson.model.Action> actions)
Overwrites create method of FlowDefinition class.
|
String |
getRemoteJenkinsFile() |
String |
getRemoteJenkinsFileBranch() |
hudson.scm.SCM |
getRemoteJenkinsFileSCM() |
public ExtendedSCMBinder(String remoteJenkinsFile, hudson.scm.SCM remoteJenkinsFileSCM, String scmSourceBranchName, boolean matchBranches, String fallbackBranch)
remoteJenkinsFile - Path of the remote jenkins file from Remote Jenkins File Plugin descriptorremoteJenkinsFileSCM - SCM definition from Remote Jenkins File Plugin descriptorpublic org.jenkinsci.plugins.workflow.flow.FlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner handle,
hudson.model.TaskListener listener,
List<? extends hudson.model.Action> actions)
throws Exception
create in class org.jenkinsci.plugins.workflow.flow.FlowDefinitionhandle - FlowExecutionOwnerlistener - TaskListeneractions - List of ActionFlowExecutionExceptionpublic hudson.scm.SCM getRemoteJenkinsFileSCM()
public String getRemoteJenkinsFile()
public String getRemoteJenkinsFileBranch()
Copyright © 2016–2021. All rights reserved.