Thanks, but that's not what I want to do. My goal is not to support two JDKs separately, but to test with JDK 11 sources compiled with Java 8. I can't do that in two separate jobs.
Regards Michal śr., 6 mar 2019, 16:22 użytkownik Robert Munteanu <romb...@apache.org> napisał: > Hi Michał, > > On Wed, 2019-03-06 at 15:50 +0100, Michał Walenia wrote: > > I recently took up a task to test code compiled with JDK 8 using Java > > 11 > > runtime. In order to do that, I'm trying to use two different JDKs in > > one > > Jenkins job, > > which is defined in Job DSL > > When we were defining jobs using the job dsl we were creating a job per > supported JVM - that was much simpler to manage. > > Hope this helps, > > Robert > >