Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-3400

Correctly set the JAVA_HOME env variable

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Jenkins X

      Description

      While working on NXP-27059, we've got the following error on the nuxeo build:

      [2020-09-18T07:24:44.202Z] [INFO] ------------------------------------------------------------------------
      [2020-09-18T07:24:44.202Z] [INFO] BUILD FAILURE
      [2020-09-18T07:24:44.202Z] [INFO] ------------------------------------------------------------------------
      [2020-09-18T07:24:44.202Z] [INFO] Total time:  02:10 min (Wall Clock)
      [2020-09-18T07:24:44.202Z] [INFO] Finished at: 2020-09-18T07:24:43Z
      [2020-09-18T07:24:44.202Z] [INFO] ------------------------------------------------------------------------
      [2020-09-18T07:24:44.202Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project nuxeo-runtime-launcher: MavenReportException: Error while generating Javadoc: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -> [Help 1]
      [2020-09-18T07:24:44.202Z] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-javadoc-plugin:3.2.0:jar (attach-javadocs) on project nuxeo-common: MavenReportException: Error while generating Javadoc: Unable to find javadoc command: The environment variable JAVA_HOME is not correctly set. -> [Help 1]
      

      We want to fix this error by correctly setting the JAVA_HOME environment variable.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours
                  2h