Skip to content

Commit b6ae0c2

Browse files
committed
Checkout submodule from checkout task.
1 parent f31cc64 commit b6ae0c2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.azure-pipelines/common-templates/checkout.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ steps:
1010
- checkout: self
1111
clean: true
1212
fetchDepth: 1
13+
submodules: true
1314
persistCredentials: true
1415

1516
- task: PowerShell@2
@@ -32,13 +33,6 @@ steps:
3233
git pull
3334
git status
3435
35-
- task: Bash@3
36-
displayName: "Update Git Submodules"
37-
inputs:
38-
targetType: inline
39-
script: |
40-
git pull --recurse-submodules
41-
git submodule update --init --recursive --remote
4236
4337
- task: securedevelopmentteam.vss-secure-development-tools.build-task-credscan.CredScan@2
4438
displayName: "Run CredScan"

0 commit comments

Comments
 (0)