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

Plugin not respecting node JAVA_HOME

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • ssh-slaves-plugin
    • None
    • Jenkins 2.46.1, ssh-slaves-plugin 1.17
    • ssh-slaves-1.31.1

      SSH slave as openssk jdk version 8.0 and 9.0 installed.

      I have the global tools location set for JDK to /usr/lib/jbm/java-8-openjdk-amd64

      I have the tools location and the env. variable JAVA_HOME set on the node config as well.

      When launching the agent, it shows:

      [04/21/17 22:32:00] [SSH] Checking java version of java
      [04/21/17 22:32:00] [SSH] java -version returned 9-internal.

       

      Previous issue here: JENKINS-5412   (code was checked in and still in the repo)  Is there a change in behavior that makes this fix no longer work?

       

            ifernandezcalvo Ivan Fernandez Calvo
            johnar John Arnold
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: