public class AccumulatedCommitStrategy extends GitIntegrationStrategy
| Modifier and Type | Class and Description |
|---|---|
static class |
AccumulatedCommitStrategy.DescriptorImpl
Descriptor implementation for AccumulatedCommitStrategy
|
| Constructor and Description |
|---|
AccumulatedCommitStrategy()
Constructor for AccumulatedCommitStrategy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
integrate(hudson.plugins.git.GitSCM scm,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.TaskListener listener,
hudson.plugins.git.Revision marked,
hudson.plugins.git.Branch triggeredBranch,
GitBridge gitbridge)
Integrates the commits into the integration integrationBranch.
|
boolean |
isShortCommitMessage() |
void |
setShortCommitMessage(boolean shortCommitMessage) |
containsRemoteBranch, getPersonIdent, tryFastForward, tryRebaseall, getDescriptor@DataBoundConstructor public AccumulatedCommitStrategy()
public void integrate(hudson.plugins.git.GitSCM scm,
hudson.model.Run<?,?> build,
org.jenkinsci.plugins.gitclient.GitClient git,
hudson.model.TaskListener listener,
hudson.plugins.git.Revision marked,
hudson.plugins.git.Branch triggeredBranch,
GitBridge gitbridge)
throws IOException,
InterruptedException
IntegrationStrategyAsGitPluginExtscm - Current GIT scmbuild - The Buildgit - 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 problemspublic boolean isShortCommitMessage()
@DataBoundSetter public void setShortCommitMessage(boolean shortCommitMessage)
Copyright © 2016–2022. All rights reserved.