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

Git fails on remote slaves

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • git-plugin
    • None
    • Platform: All, OS: Linux

    Description

      Hudson (latest build 1.262). I have a Build multi-configuration project with
      Git as the SCM. After the slave builds are triggered I see:

      started
      Building remotely on debian
      FATAL: Couldn't check for .git
      hudson.plugins.git.GitException: Couldn't check for .git
      at hudson.plugins.git.GitAPI.hasGitRepo(GitAPI.java:53)
      at hudson.plugins.git.GitSCM.checkout(GitSCM.java:129)
      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.matrix.MatrixBuild.run(MatrixBuild.java:100)
      at hudson.model.ResourceController.execute(ResourceController.java:70)
      at hudson.model.Executor.run(Executor.java:90)

      I initially thought this was a permissions problem but after chmod'ing the whole
      Hudson home directory to 0777 I am thinking not. Git is installed locally and I
      can manually clone the repo locally.

      Attachments

        Activity

          jamtur01 jamtur01 created issue -
          jbq jbq added a comment -

          Should be fixed in revision 13401. Please reopen the issue if the problem persists.

          jbq jbq added a comment - Should be fixed in revision 13401. Please reopen the issue if the problem persists.
          jbq jbq made changes -
          Field Original Value New Value
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          jamtur01 jamtur01 added a comment -

          Thanks for the response. When is the next release with this revision in it or
          can you point me to instructions about how I can roll my own of the plug-in?

          jamtur01 jamtur01 added a comment - Thanks for the response. When is the next release with this revision in it or can you point me to instructions about how I can roll my own of the plug-in?
          abayer Andrew Bayer made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 132748 ] JNJira + In-Review [ 201636 ]

          People

            jbq jbq
            jamtur01 jamtur01
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: