• 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
      

          [JENKINS-36491] Jenkins uses wrong JDK for Maven build step

          I've checked our other jenkins instance. It seens to be a problem espacially with multiconfigurations project. This Jenkins use wrong 1.8 JDK instead of single jdk 1.7 configured in.

          Dzianis Mazuronak added a comment - I've checked our other jenkins instance. It seens to be a problem espacially with multiconfigurations project. This Jenkins use wrong 1.8 JDK instead of single jdk 1.7 configured in.

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

              Created:
              Updated: