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 . concode_field_sep String authorization concode_elem_sep URL jenkins concode_elem_sep String httpsProxyTunnel concode_elem_sep ExecutorService exec concode_field_sep CLIConnectionFactory executorService concode_elem_sep CLIConnectionFactory basicAuth concode_elem_sep CLIConnectionFactory basicAuth concode_elem_sep CLIConnectionFactory httpsProxyTunnel concode_elem_sep CLIConnectionFactory url concode_elem_sep CLIConnectionFactory url concode_elem_sep CLI connect
CLIConnectionFactory function ( String arg0 ) { this . authorization = arg0 ; return this ; }