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

GitException: Error launching git rev-parse

XMLWordPrintable

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

      I'm unable to build using the GIT SCM. The error is:
      started
      Checkout (update)
      Fetching upstream changes
      [workspace] $ git fetch
      [workspace] $ git tag -l
      FATAL: Error performing git rev-parse
      hudson.plugins.git.GitException: Error performing git rev-parse
      at hudson.plugins.git.GitAPI.getTags(GitAPI.java:275)
      at hudson.plugins.git.GitSCM.branchesThatNeedBuilding(GitSCM.java:259)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:147)
      at hudson.model.AbstractProject.checkout(AbstractProject.java:666)
      at hudson.model.AbstractBuild$AbstractRunner.checkout(AbstractBuild.java:261)
      at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:235)
      at hudson.model.Run.run(Run.java:817)
      at hudson.model.Build.run(Build.java:88)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:90)
      Caused by: hudson.plugins.git.GitException: Error launching git rev-parse
      at hudson.plugins.git.GitAPI.getTags(GitAPI.java:258)
      ... 9 more

      With the tomcat user I can execute git rev-parse :

      -sh-3.2$ git rev-parse --verify HEAD
      c50f6f367a49ca48131ac95a97496690f9aa1584

            jbq jbq
            rombert Robert Munteanu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: