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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • 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

            Assignee:
            Stefan Wolf
            Reporter:
            Eric RAIMBAULT
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: