Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-21244

JRE instead of JDK in jenkins build

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Fix Version/s: None
    • Component/s: CI, Jenkins
    • Labels:
      None
    • Environment:
      Windows JDK15 @ jenkins
    • Project:
      Maven

      Description

      Hi infra,

      this pipeline broke because a JRE was supplied instead of a JDK:

      f:\jenkins\jenkins-slave\712657a4\workspace\box_maven-jlink-plugin_MJLINK-62@2\windows-jdk15-m3.6.x_build>mvn -P+run-its -Dmaven.test.failure.ignore=true -Dfindbugs.failOnError=false -e clean verify
      ----- withMaven Wrapper script -----
      The JAVA_HOME environment variable is not defined correctly
      This environment variable is needed to run this program
      NB: JAVA_HOME should point to a JDK not a JRE
      script returned exit code 1


      Source:
      https://ci-builds.apache.org/blue/organizations/jenkins/Maven%2Fmaven-box%2Fmaven-jlink-plugin/detail/MJLINK-62/3/pipeline/439/

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                christ Chris Thistlethwaite
                Reporter:
                bmarwell Benjamin Marwell
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: