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

    Details

    • Similar Issues:
    • Released As:
      Jenkins 2.164.1

      Description

      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
      

        Attachments

          Activity

          oleg_nenashev Oleg Nenashev created issue -
          oleg_nenashev Oleg Nenashev made changes -
          Field Original Value New Value
          Epic Link JENKINS-40689 [ 177392 ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels java10_hackathon java10_hackathon newbie-friendly
          tonho Elton Alves made changes -
          Assignee Elton Alves [ tonho ]
          tonho Elton Alves made changes -
          Assignee Elton Alves [ tonho ] Carlos Sanchez [ csanchez ]
          tonho Elton Alves made changes -
          Assignee Carlos Sanchez [ csanchez ]
          oleg_nenashev Oleg Nenashev made changes -
          Labels java10_hackathon newbie-friendly java10_hackathon java11 newbie-friendly
          batmat Baptiste Mathus made changes -
          Labels java10_hackathon java11 newbie-friendly java10_hackathon java11 java11-compatibility newbie-friendly
          oleg_nenashev Oleg Nenashev made changes -
          Epic Link JENKINS-40689 [ 177392 ] JENKINS-51805 [ 191255 ]
          batmat Baptiste Mathus made changes -
          Labels java10_hackathon java11 java11-compatibility newbie-friendly java10_hackathon java11 java11-compatibility newbie-friendly triaged
          Hide
          batmat Baptiste Mathus added a comment -

          Will be fixed once 2.164 is released (expected later today).

          Oleg Nenashev can you add a link to the right Jenkins JIRAs for completeness and cross-referencing? Spassiba

          Show
          batmat Baptiste Mathus added a comment - Will be fixed once 2.164 is released (expected later today). Oleg Nenashev can you add a link to the right Jenkins JIRAs for completeness and cross-referencing? Spassiba
          batmat Baptiste Mathus made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]
          oleg_nenashev Oleg Nenashev made changes -
          Released As Jenkins 2.164.1

            People

            • Assignee:
              Unassigned
              Reporter:
              oleg_nenashev Oleg Nenashev
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: