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

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

    • 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

          [JENKINS-68705] How to avoid "Error: HOME is not set" when starting Jenkins server

          Eric RAIMBAULT created issue -
          Dietmar Scheidl made changes -
          Priority Original: Minor [ 4 ] New: Blocker [ 1 ]
          Eric RAIMBAULT made changes -
          Released As New: v1.39.2
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Stefan Wolf made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

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

              Created:
              Updated:
              Resolved: