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

False positive JDK5 detection during maven startup

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • maven-plugin
    • None
    • Windows Jenkins ver. 1.625.2

      With JENKINS-18403 additional to UnsupportedVersionException a SocketException was
      caught to detect "JDK5".

      Unfortunately the original cause is never logged.
      Since 1.625.2 we have 2 JDKs 1.6 which say "JDK5":

      ERROR: JENKINS-18403 JDK 5 not supported to run Maven; retrying with slave Java and setting compile/test properties to point to C:\swd\java\ibm_jdk1.6.0_sr8_fp1

      and

      ERROR: JENKINS-18403 JDK 5 not supported to run Maven; retrying with slave Java and setting compile/test properties to point to C:\swd\java\oracle_jdk1.6.0_27

      Can you please add some more logging to see the causing SocketException (or UnsupportedClassVersionError ) ?

          [JENKINS-31966] False positive JDK5 detection during maven startup

          See JENKINS-28294 and the false positive
          Maven Jobs are compatible only with J7 since Jenkins core versions build for J7 (1.617 OSS and 1.625.1 LTS)

          Arnaud Héritier added a comment - See JENKINS-28294 and the false positive Maven Jobs are compatible only with J7 since Jenkins core versions build for J7 (1.617 OSS and 1.625.1 LTS)

            Unassigned Unassigned
            sc_rsc Stefan Cordes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: