|
67 | 67 |
|
68 | 68 | steps: |
69 | 69 | # Skip sparse checkout for the `azure-sdk-for-<lang>-pr` private mirrored repositories |
70 | | - # as we require the github service connection to be loaded. |
| 70 | + # as we require the GitHub service connection to be loaded. |
71 | 71 | - ${{ if not(contains(variables['Build.DefinitionName'], 'java-pr')) }}: |
72 | 72 | - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml |
73 | 73 | parameters: |
@@ -100,7 +100,7 @@ jobs: |
100 | 100 | -ProjectList $(ProjectList) |
101 | 101 |
|
102 | 102 | # Skip sparse checkout for the `azure-sdk-for-<lang>-pr` private mirrored repositories |
103 | | - # as we require the github service connection to be loaded. |
| 103 | + # as we require the GitHub service connection to be loaded. |
104 | 104 | - ${{ if not(contains(variables['Build.DefinitionName'], 'java-pr')) }}: |
105 | 105 | - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml |
106 | 106 | parameters: |
@@ -234,7 +234,7 @@ jobs: |
234 | 234 | versionSpec: $(PythonVersion) |
235 | 235 |
|
236 | 236 | # Skip sparse checkout for the `azure-sdk-for-<lang>-pr` private mirrored repositories |
237 | | - # as we require the github service connection to be loaded. |
| 237 | + # as we require the GitHub service connection to be loaded. |
238 | 238 | - ${{ if not(contains(variables['Build.DefinitionName'], 'java-pr')) }}: |
239 | 239 | - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml |
240 | 240 | parameters: |
@@ -269,7 +269,7 @@ jobs: |
269 | 269 | -ProjectList $(ProjectList) |
270 | 270 |
|
271 | 271 | # Skip sparse checkout for the `azure-sdk-for-<lang>-pr` private mirrored repositories |
272 | | - # as we require the github service connection to be loaded. |
| 272 | + # as we require the GitHub service connection to be loaded. |
273 | 273 | - ${{ if not(contains(variables['Build.DefinitionName'], 'java-pr')) }}: |
274 | 274 | - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml |
275 | 275 | parameters: |
@@ -410,7 +410,43 @@ jobs: |
410 | 410 | pool: |
411 | 411 | name: azsdk-pool-mms-win-2022-general |
412 | 412 | vmImage: windows-2022 |
| 413 | + |
413 | 414 | steps: |
| 415 | + # Skip sparse checkout for the `azure-sdk-for-<lang>-pr` private mirrored repositories |
| 416 | + # as we require the GitHub service connection to be loaded. |
| 417 | + - ${{ if not(contains(variables['Build.DefinitionName'], 'java-pr')) }}: |
| 418 | + - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml |
| 419 | + parameters: |
| 420 | + Paths: |
| 421 | + - '**/*.xml' |
| 422 | + - '**/*.md' |
| 423 | + - '!sdk/**/test-recordings' |
| 424 | + - '!sdk/**/session-records' |
| 425 | + |
| 426 | + - template: /eng/pipelines/templates/steps/generate-project-list-and-cache-maven-repository.yml |
| 427 | + parameters: |
| 428 | + Artifacts: ${{ parameters.Artifacts }} |
| 429 | + AdditionalModules: ${{ parameters.AdditionalModules }} |
| 430 | + JobType: 'Compliance' |
| 431 | + UseCache: false |
| 432 | + |
| 433 | + - task: PowerShell@2 |
| 434 | + displayName: Generate directories variable for sparse checkout |
| 435 | + inputs: |
| 436 | + pwsh: true |
| 437 | + filePath: $(Build.SourcesDirectory)/eng/scripts/Generate-ServiceDirectories-From-Project-List.ps1 |
| 438 | + arguments: > |
| 439 | + -SourcesDirectory $(Build.SourcesDirectory) |
| 440 | + -ProjectList $(ProjectList) |
| 441 | +
|
| 442 | + # Skip sparse checkout for the `azure-sdk-for-<lang>-pr` private mirrored repositories |
| 443 | + # as we require the GitHub service connection to be loaded. |
| 444 | + - ${{ if not(contains(variables['Build.DefinitionName'], 'java-pr')) }}: |
| 445 | + - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml |
| 446 | + parameters: |
| 447 | + Paths: $(SparseCheckoutDirectories) |
| 448 | + SkipCheckoutNone: true |
| 449 | + |
414 | 450 | - template: /eng/common/pipelines/templates/steps/credscan.yml |
415 | 451 | parameters: |
416 | 452 | ServiceDirectory: ${{ parameters.ServiceDirectory }} |
|
0 commit comments