Class 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 
      Modifier and Type Field Description
      protected String repoName  
    • Constructor Summary

      Constructors 
      Constructor Description
      ReceivePackCommand​(org.jenkinsci.main.modules.sshd.SshCommandFactory.CommandLine cmdLine)  
    • Field Detail

      • repoName

        protected String repoName
    • Constructor Detail

      • ReceivePackCommand

        public ReceivePackCommand​(org.jenkinsci.main.modules.sshd.SshCommandFactory.CommandLine cmdLine)
    • Method Detail

      • runCommand

        protected final int runCommand()
                                throws Exception
        Specified by:
        runCommand in class org.jenkinsci.main.modules.sshd.AsynchronousCommand
        Throws:
        Exception