FWIW, whenever I need to set up some sort of integration testing with Jenkins, I'm usually using Java 11 as it's what's most easily installable on Linux and Windows. The only incompatibilities I've come across so far have been old fixed issues in maven-hpi-plugin when trying to compile old plugins.
On Sat, Dec 5, 2020 at 1:22 AM Oleg Nenashev <o.v.nenas...@gmail.com> wrote: > > Last time I was testing cross-JVM mode (Java 8 agents + Java 11 controller), > it passed smoke tests I had. I am pretty sure there are class serialization > edge cases, but it should be solvable. > > As Jesse said, the main concern is about warnings being printed here and > there. JVM access and illegal reflective access mostly. On 2.263 there are a > few hundreds being printed, mostly from XStream and from Pipeline internals. > XStream unforking should help. > > Best regards, > Oleg > > > On Sat, Dec 5, 2020, 03:03 'Gavin Mogan' via Jenkins Developers > <jenkinsci-dev@googlegroups.com> wrote: >> >> I know there has been few/minor reports on IRC/gitter about agents having >> issues in 11 that were fixed going back to 8. I tried to encourage them to >> report issues, but I'm not sure they did. >> >> On Fri, Dec 4, 2020 at 1:50 PM Jesse Glick <jgl...@cloudbees.com> wrote: >>> >>> I am definitely opposed to trying to continue to “support” 8 if and >>> when we use 11 as a baseline for core. Let us be clear about what we >>> require and test against, so that we do not have a combinatorial >>> explosion of platforms. Plugins can be switched to run 11 in CI over >>> the course of a few months, and upgraded to `-source 11` as soon as >>> they decide to pick a new `jenkins.version`. (There is a bit of >>> infrastructure work needed for all this.) >>> >>> Basing decisions on what portion of users currently run on 11 seems >>> circular. The interesting question is what portion of users _cannot_ >>> run 11, for example due to some corporate mandate, and so would >>> actually refuse to upgrade Jenkins. This is harder to measure, of >>> course, but we can try. >>> >>> I do not _think_ there is any problem running an agent on 11 while the >>> controller is on 8, or vice-versa, but it bears testing. >>> >>> Last I tried using 11, there was still a lot of polish missing. The >>> agent printed a bunch of warnings about use of JDK internal classes. >>> IMO we should not be promoting use of a 9+ version until we can be >>> assured that no such warnings are printed when using testable features >>> of core or common plugins, perhaps by running `plugin-compat-tester` >>> and `acceptance-test-harness` with a JVM flag to turn on strict mode. >>> (JEP-228 means we are now on a version of XStream which at least >>> claims to get this right!) >>> >>> Note that AdoptOpenJDK intends to support Java 8 for considerably >>> _longer_ than 11. And we should be at least testing against newer >>> versions including previews of 17 when they become available, lest we >>> move to 11 just as it is becoming obsolete. >>> >>> -- >>> 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 jenkinsci-dev+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0C3GO1SiAYzhN2Zjp6x6_nk6t03LW8n_1kim5xMC4ZDQ%40mail.gmail.com. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Jenkins Developers" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/jenkinsci-dev/nEw4TLDcZLw/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> jenkinsci-dev+unsubscr...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/jenkinsci-dev/CAG%3D_DuuJ30tFYmFu2wRiU5n2%3DRpcrZHgivLEfDfrTQ3g1i5mrQ%40mail.gmail.com. > > -- > 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 jenkinsci-dev+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-dev/CAPfivLCiCTS%2B%2BQxAnuDc4_A021EwoNJ%3DMzAjmNGgfbJL5mF17Q%40mail.gmail.com. -- Matt Sicker Senior Software Engineer, CloudBees -- 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 jenkinsci-dev+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/CAEot4ozG8-OqwfhUvRtnmtiKA9anyDjX5R8xBLVg1_d%3Dfrn7cA%40mail.gmail.com.