Looks like it doesn’t know how to get the password for a submodule, from the cloud build log:
Password for ‘https://test@test.visualstudio.com’: Clone of ‘Azure DevOps Services | Sign In’ into submodule path ‘Assets/Submodule’ failed
And follows with this error:
GIT: Error during clone: git lfs clone ‘–branch’ ‘master’ ‘–recursive’ ‘–’ ‘ssh://test@test.visualstudio.com:22/DefaultCollection/_git/TestRepo’ ‘/BUILD_PATH/xxx’ 2>&1:
! checkout failed. git lfs clone ‘–branch’ ‘master’ ‘–recursive’ ‘–’ ‘ssh://test@test.visualstudio.com:22/DefaultCollection/_git/TestRepo’ ‘/BUILD_PATH/xxx’ 2>&1:
Just to make sure there was nothing wrong with my setup I ran the exact same command on my computer and got a successful checkout, never asked for a password. The Unity ssh key is definitely on vsts so that shouldn’t be a problem and this issue happens after it has checked out a bunch of files in the log.