After the experiments in https://github.com/jenkinsci/plugin-compat-tester/pull/84 is seems we will have to package two JDK versions into the Docker image. Building with JDK 11 will require a lot of patches on the plugin side.

      Advantage: with such approach we can have a single image for Java 8/11 and just switching the mode depending on the passed arguments

       

       

       

          [JENKINS-54674] PCT: Add Docker packaging for Java 11

          Oleg Nenashev created issue -
          Oleg Nenashev made changes -
          Epic Link New: JENKINS-52012 [ 191514 ]
          Oleg Nenashev made changes -
          Description Original: Goals:
           * PCT can invoke tests with JDK 11. Building Plugins with JDK11 is not mandatory
           * PCT Docker packaging is updated to support running with JDK11

           
          New:  

           
          Oleg Nenashev made changes -
          Description Original:  

           
          New: After the experiments in https://github.com/jenkinsci/plugin-compat-tester/pull/84 is seems we will have to package two JDK versions into the Docker image. Building with JDK 11 will require a lot of patches on the plugin side.

          Advantage: with such approach we can have a single image for Java 8/11 and just switching the mode depending on the passed arguments

           

           

           
          Adrien Lecharpentier made changes -
          Assignee New: Adrien Lecharpentier [ alecharp ]
          Adrien Lecharpentier made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]

          oleg_nenashev would it be acceptable to use something like getopts in the shell script to ease the configuration of the script? 

          This way, with one arguments, like --jdk11, we could set the required JVM and CLI parameters. I would also have to review the script a bit.

          Adrien Lecharpentier added a comment - oleg_nenashev would it be acceptable to use something like getopts in the shell script to ease the configuration of the script?  This way, with one arguments, like --jdk11 , we could set the required JVM and CLI parameters. I would also have to review the script a bit.

          Oleg Nenashev added a comment -

          Yes, it will acceptable imho

          Oleg Nenashev added a comment - Yes, it will acceptable imho
          Adrien Lecharpentier made changes -
          Status Original: In Progress [ 3 ] New: In Review [ 10005 ]
          Adrien Lecharpentier made changes -
          Remote Link New: Cette demande est liée à "PR-86 (Lien Web)" [ 22052 ]

            alecharp Adrien Lecharpentier
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: