public class SquashCommitStrategy extends GitIntegrationStrategy
Modifier and Type | Class and Description |
---|---|
static class |
SquashCommitStrategy.DescriptorImpl
Descriptor implementation for SquashCommitStrategy
|
Constructor and Description |
---|
SquashCommitStrategy()
Constructor for SquashCommitStrategy.
|
Modifier and Type | Method and Description |
---|---|
void |
integrate(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener,
AbstractSCMBridge bridge)
Integrates the commits into the integration branch.
|
containsRemoteBranch, getPersonIdent, tryFastForward, tryRebase
all, getDescriptor
@DataBoundConstructor public SquashCommitStrategy()
public void integrate(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener, AbstractSCMBridge bridge) throws IntegrationFailedException, NothingToDoException, UnsupportedConfigurationException
integrate
in class IntegrationStrategy
build
- The Buildlauncher
- The Launcherlistener
- The BuildListenerbridge
- The SCM BridgeIntegrationFailedException
- when integration failsNothingToDoException
- when there's nothing to doUnsupportedConfigurationException
- when part of the configuration isn't supportedCopyright © 2004–2016. All rights reserved.