Enable the JNLP port in Manage Jenkins ยป Configure Global Security, or wait for 2.19.2 (which should be released any day now).
> On 30.10.2016, at 03:48, red 888 <[email protected]> wrote: > > Running Server 2012 R2, Jenkins ver. 2.19.1 > > > > Installed Jenkins via the Windows MSI > > > > I can't seem to install plugins with the cli: > > & 'C:\Program Files (x86)\Jenkins\jre\bin\java.exe' -jar 'C:\Program Files > (x86)\Jenkins\war\WEB-INF\jenkins-cli.jar' -s 'http://localhost:8080/' > install-plugin 'http://updates.jenkins-ci.org/download/plugins/aws-la > mbda/0.5.5/aws-lambda.hpi' > > java.io.IOException: No X-Jenkins-CLI2-Port among [X-Jenkins, null, Server, > X-Content-Type-Options, X-You-Are-In-Group, X-Hudson, Date, > X-Jenkins-Session, X-You-Are-Authenticated-As, X-Required-Permission, > Set-Cookie, Expires, Content-Length, Content > -Type] > at hudson.cli.CLI.getCliTcpPort(CLI.java:284) > at hudson.cli.CLI.<init>(CLI.java:128) > at > hudson.cli.CLIConnectionFactory.connect(CLIConnectionFactory.java:72) > at hudson.cli.CLI._main(CLI.java:473) > at hudson.cli.CLI.main(CLI.java:384) > Suppressed: java.io.IOException: Server returned HTTP response code: > 403 for URL: http://localhost:8080/cli > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) > at > hudson.cli.FullDuplexHttpStream.<init>(FullDuplexHttpStream.java:78) > at hudson.cli.CLI.connectViaHttp(CLI.java:152) > at hudson.cli.CLI.<init>(CLI.java:132) > ... 3 more > > > > I also tried it with -name aws-lambda and just aws-lambda at the end, but did > not work > > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/02580ca6-829d-473b-908d-0827c1f71bdc%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/C6972C8B-9DA2-4AD6-B51E-504C50A9737C%40beckweb.net. For more options, visit https://groups.google.com/d/optout.
