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.plugins.git.GitSCM scm,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient client,
hudson.model.TaskListener listener,
hudson.plugins.git.Revision marked,
hudson.plugins.git.Branch triggeredBranch,
GitBridge gitbridge)
Integrates the commits into the integration integrationBranch.
|
containsRemoteBranch, getPersonIdent, tryFastForward, tryRebaseall, getDescriptor@DataBoundConstructor public SquashCommitStrategy()
public void integrate(hudson.plugins.git.GitSCM scm,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient client,
hudson.model.TaskListener listener,
hudson.plugins.git.Revision marked,
hudson.plugins.git.Branch triggeredBranch,
GitBridge gitbridge)
throws IOException,
InterruptedException,
IntegrationFailedException,
IntegrationUnknownFailureException,
NothingToDoException,
UnsupportedConfigurationException
IntegrationStrategyAsGitPluginExtscm - Current GIT scmbuild - The Buildclient - current git clientlistener - The BuildListenermarked - marked revision for use in GitExtensionstriggeredBranch - the triggered branchgitbridge - the gitbridgeIntegrationFailedException - The integration failed ala mergeNothingToDoException - The triggered revision is behind the integrationUnsupportedConfigurationException - You have a combination that is not supported, like the type of jobIOException - Unforeseen IO problemsInterruptedException - Unforeseen problemsIntegrationUnknownFailureExceptionCopyright © 2016–2022. All rights reserved.