Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-51990

Running docker Image build with plugins.txt produces warnings in the Java 10 base image


    • Jenkins 2.164.1

      It seems that some logic in install-plugins produces warnings. These warnings do not lead to any issues, but it would be great to cleanup them

      Step 7/23 : RUN /usr/local/bin/install-plugins.sh < /usr/share/jenkins/ref/plugins.txt
       ---> Running in fbca05b27738
      Creating initial locks...
      Analyzing war...
      Registering preinstalled plugins...
      Jun 17, 2018 4:24:37 PM Main main
      SEVERE: Running with Java class version 54.0, but 52.0 is required.Run with the --enable-future-java flag to enable such behavior
      java.lang.UnsupportedClassVersionError: 54.0
      	at Main.main(Main.java:139)
      Jenkins requires Java 8, but you are running 10.0.1+10-Debian-4 from /usr/lib/jvm/java-10-openjdk-amd64
      java.lang.UnsupportedClassVersionError: 54.0
      	at Main.main(Main.java:139)
      Using version-specific update center: https://updates.jenkins.io/....
      Downloading plugins...
      Downloading plugin: matrix-auth from https://updates.jenkins.io/download/plugins/matrix-auth/2.2/matrix-auth.hpi
      Downloading plugin: cloudbees-folder from https://updates.jenkins.io/download/plugins/cloudbees-folder/6.4/cloudbees-folder.hpi
      Downloading plugin: workflow-cps from https://updates.jenkins.io/download/plugins/workflow-cps/2.53/workflow-cps.hpi
      Downloading plugin: git from https://updates.jenkins.io/download/plugins/git/3.9.0/git.hpi
      Downloading plugin: workflow-aggregator from https://updates.jenkins.io/download/plugins/workflow-aggregator/2.5/workflow-aggregator.hpi
      Downloading plugin: timestamper from https://updates.jenkins.io/download/plugins/timestamper/1.8.10/timestamper.hpi

            Unassigned Unassigned
            oleg_nenashev Oleg Nenashev
            0 Vote for this issue
            3 Start watching this issue