-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
-
git-client-pluging 2.7.0
jenkins 2.102
The new submodule pattern matching introduced in 52f681e6153eb088495edd497a82d6dc919dcae3 commit in git-client-plugin 2.7.0 for issue breaks submodules with spaces in name.JENKINS-46054
The previous pattern was this one:
git config -f .gitmodules --get-regexp "^submodule\.(.*)\.url"
But now it's this one:
git config -f .gitmodules --get-regexp "^submodule\.([^ ]+)\.url"
So submodule with space in name are not matched anymore:
submodule.Submodules/Foo iOS Library.url ssh://git@stash.mobile.bar.com:7999/foo/ios-library.git
It would be better to use a pattern like this one:
git config -f .gitmodules --get-regexp '^submodule\.(.+)\.url$'
- duplicates
-
JENKINS-48818 Git plugin no longer updates submodules with spaces in the name
- Closed
- is related to
-
JENKINS-46054 Unable to pull submodules that contain ".url" in the url
- Closed