public class FFOnlyStrategy extends GitIntegrationStrategy
Modifier and Type | Class and Description |
---|---|
static class |
FFOnlyStrategy.DescriptorImpl
Descriptor implementation for FFOnlytStrategy
|
Constructor and Description |
---|
FFOnlyStrategy()
Constructor for FFOnlyStrategy.
|
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, tryRebase
all, getDescriptor
@DataBoundConstructor public FFOnlyStrategy()
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
IntegrationStrategyAsGitPluginExt
scm
- 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.