C - the Git command line client type used to exectue the merge command.public class CliGitMergeCommand<C extends org.jenkinsci.plugins.gitclient.CliGitAPIImpl> extends GenericMergeCommand<C>
GenericMergeCommand.StrategyOptionautoCommit, consoleLogger, fastForwardMode, gitClient, revisionToMerge, strategy, strategyOption| Constructor and Description |
|---|
CliGitMergeCommand(C gitClient,
PrintStream consoleLogger)
Contructs a new merge command for Git command line clients.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
setAutoCommit, setFastForwardMode, setRevisionToMerge, setStrategy, setStrategyOptionpublic CliGitMergeCommand(C gitClient, PrintStream consoleLogger)
gitClient - the Git command line client used to excute the merge.consoleLogger - the logger instance, used to print messages to the Jenkins console.public void execute()
throws hudson.plugins.git.GitException,
InterruptedException
execute in class GenericMergeCommand<C extends org.jenkinsci.plugins.gitclient.CliGitAPIImpl>hudson.plugins.git.GitExceptionInterruptedExceptionCopyright © 2014–2017 Silpion IT-Solutions GmbH. All rights reserved.