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

Git does not work when $HOME is not set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • git-plugin
    • None
    • Platform: All, OS: Linux

      I'm running hudson as a service on ubuntu 9.04 server installed using apt "deb
      http://hudson.gotdns.com/debian binary/"

      The git plugin complained about not having user.email and user.name set.

      I discovered that git needs the $HOME env variable set to find its configuration.

      I had to manually add "export HOME=/var/lib/hudson" to /etc/default/hudson to be
      able to use the git plugin.

            ndeloof Nicolas De Loof
            chrisspelberg Chris lutje Spelberg
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: