Skip to content

Commit 3eaba58

Browse files
authored
Sync submodule URLs for dirty agent CI (#918)
1 parent 507a4d7 commit 3eaba58

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.vsts.pipelines/jobs/ci-local.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ jobs:
3838
- checkout: self
3939
clean: true
4040

41+
# If the machine is dirty, submodule URLs may be from a different branch. Sync to prevent that.
42+
- script: git submodule sync
43+
displayName: Sync submodule urls
44+
4145
# Make sure submodules from other branches are removed: pass extra f.
4246
- script: git clean -xdff
4347
displayName: Clean leftover submodules

0 commit comments

Comments
 (0)