[FOLIO-3355] --recurse-submodules when Scratch (Rancher) BUILD-BACKEND clones Created: 01/Dec/21 Updated: 04/Feb/22 Resolved: 04/Feb/22 |
|
| Status: | Closed |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | Bug | Priority: | P3 |
| Reporter: | Julian Ladisch | Assignee: | oleksandr_haimanov |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||
| Sprint: | Kitfox: sprint 132 | ||||||||||||
| Story Points: | 1 | ||||||||||||
| Development Team: | Kitfox | ||||||||||||
| Description |
|
Scratch (Rancher) BUILD-BACKEND uses
git clone --single-branch --branch master https://github.com/folio-org/mod-patron.git mod-patron
to clone the git repository. Many repositories have submodules. Some expand pom.xml to make maven automatically clone submodules in some build phase (example: https://github.com/folio-org/mod-users/blob/v18.1.1/pom.xml#L164-L186 ). Some don't, and therefore Jenkins need to clone the submodules. Calling
git clone --single-branch --branch master --recurse-submodules https://github.com/folio-org/mod-patron.git mod-patron
will clone the submodules by using the --recurse-submodules option. |
| Comments |
| Comment by oleksandr_haimanov [ 04/Feb/22 ] |
|
https://github.com/folio-org-priv/folio-infrastructure/pull/349 |