Skip to content

Commit

Permalink
ci: add custom checkout to sdl parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
calebkiage committed Feb 29, 2024
1 parent 67a0135 commit b177362
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .azure-pipelines/release-cli.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,18 @@ extends:
parameters:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: ubuntu-latest
os: linux # OS of the image. This value cannot be a variable. Allowed values: windows, linux, macOS

sdl:
customCheckout:
steps:
- pwsh: git config --global core.longpaths true
displayName: Enable git's long file paths on Windows
- checkout: self
sourceAnalysisPool:
name: Azure-Pipelines-1ESPT-ExDShared
image: windows-latest
os: windows
credscan:
suppressionsFile: $(Build.SourcesDirectory)/.azure-pipelines/config/CredScanSuppressions.json
Expand All @@ -87,6 +94,7 @@ extends:
displayName: Run tests
dependsOn: []
pool:
image: ubuntu-latest
os: linux
jobs:
- job: test
Expand Down

0 comments on commit b177362

Please sign in to comment.