• Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • ssh-slaves-plugin
    • None
    • Jenkins ver. 1.612 with ssh-slave-plugin 1.9

      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";
      

          [JENKINS-28231] Java Version hard coded to Java6

          Niels Wegner added a comment -

          Maybe related to JENKINS-13178, JENKINS-20495

          Niels Wegner added a comment - Maybe related to JENKINS-13178 , JENKINS-20495

          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.

          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.

          Daniel Beck added a comment -

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

          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

          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

          Daniel Beck added a comment -

          Resolved in 1.10.

          Daniel Beck added a comment - Resolved in 1.10.

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

              Created:
              Updated:
              Resolved: