Package hudson.cli

Class CLIConnectionFactory


  • public class CLIConnectionFactory
    extends Object
    Fluent-API to instantiate CLI.
    Author:
    Kohsuke Kawaguchi
    • Constructor Detail

      • CLIConnectionFactory

        public CLIConnectionFactory()
    • Method Detail

      • authorization

        public CLIConnectionFactory authorization​(String value)
        For CLI connection that goes through HTTP, sometimes you need to pass in the custom authentication header (before Jenkins even get to authenticate the CLI channel.) This method lets you specify the value of this header.