diff --git a/azure-pipelines.yml b/azure-pipelines.yml index e9ea6e4e8..393bc4bf7 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -841,8 +841,9 @@ stages: displayName: 'Install .net core' inputs: version: $(dotnetVersion) - - checkout: self # Need history for Sonar analysis - submodules: true + - checkout: self + submodules: true + fetchDepth: 1 - bash: ./docs.sh Windows displayName: Create openapi.json - bash: |