public abstract class IntegrationStrategy extends Object implements hudson.model.Describable<IntegrationStrategy>, hudson.ExtensionPoint
Constructor and Description |
---|
IntegrationStrategy() |
Modifier and Type | Method and Description |
---|---|
static hudson.DescriptorExtensionList<IntegrationStrategy,IntegrationStrategyDescriptor<IntegrationStrategy>> |
all() |
hudson.model.Descriptor<IntegrationStrategy> |
getDescriptor() |
abstract void |
integrate(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
AbstractSCMBridge bridge)
Integrates the commits into the integration integrationBranch.
|
public abstract void integrate(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, AbstractSCMBridge bridge) throws IntegrationFailedException, IntegrationUnknownFailureException, NothingToDoException, UnsupportedConfigurationException
build
- The Buildlauncher
- The Launcherlistener
- The BuildListenerbridge
- The SCM BridgeIntegrationFailedException
- When integration failsNothingToDoException
- The triggered branch/commit is already a part of the integration branchUnsupportedConfigurationException
- when part of the configuration isn't supportedIntegrationUnknownFailureException
- An unforeseen failurepublic hudson.model.Descriptor<IntegrationStrategy> getDescriptor()
getDescriptor
in interface hudson.model.Describable<IntegrationStrategy>
public static hudson.DescriptorExtensionList<IntegrationStrategy,IntegrationStrategyDescriptor<IntegrationStrategy>> all()
Copyright © 2016–2018. All rights reserved.