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

Java Version hard coded to Java6

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Cannot Reproduce
    • ssh-slaves-plugin
    • None
    • Jenkins ver. 1.612 with ssh-slave-plugin 1.9

    Description

      Due to switching to a Java version > 6 (JENKINS-28120) the slaves nodes are not running any more, when installing a JDK by the automatic way.
      The JDK version is hardcoded in this class:

      public class SSHLauncher extends ComputerLauncher {
      
          /**
           * The scheme requirement.
           */
          public static final SchemeRequirement SSH_SCHEME = new SchemeRequirement("ssh");
      
      
          public static final String JDKVERSION = "jdk-6u45";
      

      Attachments

        Issue Links

          Activity

            nwegner Niels Wegner added a comment -

            Maybe related to JENKINS-13178, JENKINS-20495

            nwegner Niels Wegner added a comment - Maybe related to JENKINS-13178 , JENKINS-20495
            integer Kanstantsin Shautsou added a comment - - edited

            Imho, better remove this magic. Enforcing sun/oracle java installations without ability to choose in SSHSlave class is bad.

            integer Kanstantsin Shautsou added a comment - - edited Imho, better remove this magic. Enforcing sun/oracle java installations without ability to choose in SSHSlave class is bad.
            danielbeck Daniel Beck added a comment -

            Predicted in JENKINS-27623, but of course we had to duplicate it as JENKINS-28120

            danielbeck Daniel Beck added a comment - Predicted in JENKINS-27623 , but of course we had to duplicate it as JENKINS-28120 …

            Dirty hack on dirty bug:

            /var/lib/jenkins/cache/jdks/LINUX/amd64# cat jdk-8u45-oth-JPR > jdk-6u45-oth-JPR@CDS-CDS_Developer

            mkostrikin Maxim Kostrikin added a comment - Dirty hack on dirty bug: /var/lib/jenkins/cache/jdks/LINUX/amd64# cat jdk-8u45-oth-JPR > jdk-6u45-oth-JPR@CDS-CDS_Developer
            danielbeck Daniel Beck added a comment -

            Resolved in 1.10.

            danielbeck Daniel Beck added a comment - Resolved in 1.10.

            People

              kohsuke Kohsuke Kawaguchi
              nwegner Niels Wegner
              Votes:
              7 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: