[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:
Blocks
blocks MODPATRON-74 Update request schema according to re... Closed
blocks MODPATRON-81 Add holdingsRecordId to request record Closed
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

Generated at Thu Feb 08 23:27:29 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.