public abstract class AbstractSCMBridge extends Object implements hudson.model.Describable<AbstractSCMBridge>, hudson.ExtensionPoint
Modifier and Type | Field and Description |
---|---|
IntegrationStrategy |
integrationStrategy
The integration strategy.
|
protected static String |
LOG_PREFIX |
Constructor and Description |
---|
AbstractSCMBridge(IntegrationStrategy integrationStrategy)
Constructor for the SCM bridge.
|
Modifier and Type | Method and Description |
---|---|
static hudson.DescriptorExtensionList<AbstractSCMBridge,SCMBridgeDescriptor<AbstractSCMBridge>> |
all() |
static List<IntegrationStrategyDescriptor<?>> |
getBehaviours() |
hudson.model.Descriptor<AbstractSCMBridge> |
getDescriptor() |
static List<SCMBridgeDescriptor<?>> |
getDescriptors() |
String |
getExpandedIntegrationBranch(hudson.EnvVars environment) |
protected abstract String |
getIntegrationBranch()
Information about the result of the integration (Unknown, Conflict, Build, Push).
|
static hudson.model.Result |
getRequiredResult() |
void |
validateConfiguration(hudson.model.AbstractProject<?,?> project)
Validates the configuration of the Jenkins Job.
|
public final IntegrationStrategy integrationStrategy
protected static final String LOG_PREFIX
public AbstractSCMBridge(IntegrationStrategy integrationStrategy)
integrationStrategy
- The integration strategy to apply when merging commits.protected abstract String getIntegrationBranch()
public void validateConfiguration(hudson.model.AbstractProject<?,?> project) throws UnsupportedConfigurationException
project
- The ProjectUnsupportedConfigurationException
- Mismatch in job configurationpublic static hudson.DescriptorExtensionList<AbstractSCMBridge,SCMBridgeDescriptor<AbstractSCMBridge>> all()
public static List<IntegrationStrategyDescriptor<?>> getBehaviours()
public hudson.model.Descriptor<AbstractSCMBridge> getDescriptor()
getDescriptor
in interface hudson.model.Describable<AbstractSCMBridge>
public static List<SCMBridgeDescriptor<?>> getDescriptors()
public String getExpandedIntegrationBranch(hudson.EnvVars environment)
environment
- environmentpublic static hudson.model.Result getRequiredResult()
Copyright © 2016–2022. All rights reserved.