Plugin not respecting node JAVA_HOME

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 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?

       

            Assignee:
            Ivan Fernandez Calvo
            Reporter:
            John Arnold
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: