Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
Critical
-
Resolution: Fixed
-
Component/s: git-plugin
-
Labels:None
-
Environment:RHEL 4u6, Jenkins 1.3.96, Jenkins Git 1.1.5, Git 1.7.0
-
Similar Issues:
Description
After upgrading to version 1.1.5 of the Git plug-in, our jobs on machines with Git 1.7.0 have started breaking since the Git plug-in issues "submodule" commands, which this version of Git apparently does not support.
It fails like this:
hudson.plugins.git.GitException: Error performing command: /ld/env/bin/git submodule init
Command "/ld/env/bin/git submodule init" returned status code 1: git: 'submodule' is not a git-command. See 'git --help'.
We don't even use submodules, so there's no reason for Jenkins to bother in the first place?
Attachments
Issue Links
- depends on
-
JENKINS-6658 Add option to ignore submodules
-
- Closed
-
git 1.7.0 definitely should have submodule - not sure why yours doesn't. Also, that command should only be getting called if there's a ".gitmodules" file in your repo in the first place - could you try this with version 1.1.6 of the git plugin?