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

How to avoid "Error: HOME is not set" when starting Jenkins server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • gradle-plugin
    • None
    • gradle-plugin from v1.39 (PR#150), Jenkins v2.332.3
    • v1.39.2

      The following warning is raised several times on each restart of the Jenkins server since the update of the gradle-plugin in v1.39 :

      WARNING h.p.g.i.GradleBuildScanInjection#inject: Error: HOME is not set

      On my Jenkins server, I don't need Gradle, but this gradle-plugin is required by Artifactory plugin.

      I tried to set the HOME environment variable, then the JENKINSGRADLEPLUGIN_BUILD_SCAN_OVERRIDE_HOME environment variable, but the warning is still reported in the system logs when the Jenkins server starts.

      Is there a solution to fix this warning?

      Thanks in advance

            wolfs Stefan Wolf
            eraimbau Eric RAIMBAULT
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: