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

Jenkins uses wrong JDK for Maven build step

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • maven-plugin
    • None
    • Solaris 10 x86, Jenkins 2.11, Linux x86_64

      Job is configured as multiconfiguration project.
      There are 2 build slaves solaris/sparc and solaris/x86. A jdk 1.7 installed at /usr/jdk/jdk1.7.0_80 is configured and assigned to the job.

      The maven build step on solaris/x86 failed with the error:

      Error: JAVA_HOME is not defined correctly.
        We cannot execute /usr/jdk/jdk1.6.0_111/bin/java
      

            Unassigned Unassigned
            dmazuronak Dzianis Mazuronak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: