[BUG]: Pipeline fails when referencing repository within project (submodule) #20778
Closed
4 of 7 tasks
Labels
Area: Artifacts
Area: ArtifactsPackages
Azure Artifacts Packaging Team
bug
redirect-to-dev-community
triage
New issue checklist
Task name
checkout
Task version
No response
Issue Description
Imagine the following structure:
Azure project 1:
Azure project 2:
When adding repository 1.1 as a submodule to repository 2.1, the following pipeline works as expected and correctly (after 8 hours of trial and error...). However, when I add repository 1.1 as a submodule to repository 1.2, this does not work. It appears not to matter what is inside the repositories, as my final attempt included 3 empty repositores.
The following article explains the steps I had to follow to make it work: https://linkedin.com/pulse/git-dealing-error-tf401019-when-using-submodules-azure-cardamone/
Note: even though what I wrote was correct an hour ago. I just retried it and it also fails now. I am out of inspiration.
I have absolutely no idea what my problem is and spent all day working on solely this issue. If anyone could point me in the right direction, that would be highly appreciated!
Environment type (Please select at least one enviroment where you face this issue)
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows 10/Windows 11
Relevant log output
Full task logs with system.debug enabled
Repro steps
The text was updated successfully, but these errors were encountered: