Class UploadPackCommand

  • 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 UploadPackCommand
    extends org.jenkinsci.main.modules.sshd.AsynchronousCommand
    Implements "git-upload-pack" in Jenkins SSH that lets clients download commits from us.
    Author:
    Kohsuke Kawaguchi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected String repoName  
    • Constructor Summary

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

      • repoName

        protected String repoName
    • Constructor Detail

      • UploadPackCommand

        public UploadPackCommand​(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