Hi I found a bit of time to finsih the changes to add http2 capability for Jenkins via Jetty. So it's 3 prs to review: * winstone: https://github.com/jenkinsci/winstone/pull/39 * extras-executable-war: https://github.com/jenkinsci/ extras-executable-war/pull/11 * jenkins: https://github.com/jenkinsci/jenkins/pull/2937
To test this http2 connector you need to start jenkins adding alpn-boot in -Xbootclasspath (alpn is not available in java8 but should be in java9 but that's an other story :-) ) In my case, I run with such command: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java -Xbootclasspath/p:/Users/olamy/repository/org/mortbay/jetty/alpn/alpn-boot/8.1.11.v20170118/alpn-boot-8.1.11.v20170118.jar -jar target/jenkins.war --http2Port=9090 Note the option --http2Port (using default home made generated ssl certificate) The alpnboot version depends on your jdk version. I usually find it looking at the mapping in the jetty pom: https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/pom.xml You will have profiles such: <profile> <id>8u121</id> <activation> <property> <name>java.version</name> <value>1.8.0_121</value> </property> </activation> <properties> <alpn.version>8.1.11.v20170118</alpn.version> </properties> </profile> So you have the alpn.version to use. Then get it: http://repo.maven.apache.org/maven2/org/mortbay/jetty/alpn/alpn-boot/8.1.9.v20160720/alpn-boot-8.1.9.v20160720.jar or http://repo.maven.apache.org/maven2/org/mortbay/jetty/alpn/alpn-boot/${alpn.version}/alpn-boot-${alpn.version}.jar -Xbootclasspath/p: only need to contain the downloaded jar. Cheers -- Olivier Lamy http://twitter.com/olamy | http://linkedin.com/in/olamy -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" 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-dev/CAPoyBqTVLSs3MJWLFtWpCRLL_%2B%2Bst%2BW75eQOxpOXNGR46M8Vmg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
