Class ReceivePackCommand
java.lang.Object
org.jenkinsci.main.modules.sshd.AsynchronousCommand
org.jenkinsci.plugins.gitserver.ssh.ReceivePackCommand
- All Implemented Interfaces:
Runnable,org.apache.sshd.server.command.Command,org.apache.sshd.server.command.CommandDirectErrorStreamAware,org.apache.sshd.server.command.CommandDirectInputStreamAware,org.apache.sshd.server.command.CommandDirectOutputStreamAware,org.apache.sshd.server.command.CommandDirectStreamsAware,org.apache.sshd.server.command.CommandLifecycle,org.apache.sshd.server.session.ServerSessionAware
public class ReceivePackCommand
extends org.jenkinsci.main.modules.sshd.AsynchronousCommand
Implements "git-receive-pack" in Jenkins SSH that receives uploaded commits from clients.
- Author:
- Kohsuke Kawaguchi
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReceivePackCommand(org.jenkinsci.main.modules.sshd.SshCommandFactory.CommandLine cmdLine) -
Method Summary
Methods inherited from class org.jenkinsci.main.modules.sshd.AsynchronousCommand
destroy, destroy, getCmdLine, getCurrentUser, getEnvironment, getErrorStream, getInputStream, getOutputStream, getSession, run, setErrorStream, setExitCallback, setInputStream, setOutputStream, setSession, start, start
-
Field Details
-
repoName
-
-
Constructor Details
-
ReceivePackCommand
public ReceivePackCommand(org.jenkinsci.main.modules.sshd.SshCommandFactory.CommandLine cmdLine)
-
-
Method Details
-
doRun
- Throws:
IOExceptionInterruptedException
-
runCommand
- Specified by:
runCommandin classorg.jenkinsci.main.modules.sshd.AsynchronousCommand- Throws:
Exception
-