Skip to content

Commit 6a47a89

Browse files
TylerLeonhardtrjmholt
authored andcommitted
Use list of files for release since build happens first (#2260)
1 parent d65ccf8 commit 6a47a89

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.vsts-ci/templates/release-general.yml

+7
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,15 @@ steps:
8383
optionsFTPATH: '$(Build.SourcesDirectory)\tools\terms\FileTypeSet.xml'
8484
# toolVersion: 5.8.2.1
8585

86+
- pwsh: |
87+
Get-ChildItem -Exclude node_modules | Get-ChildItem -Recurse | ForEach-Object FullName > "$env:BUILD_SOURCESDIRECTORY/credscan.tsv"
88+
displayName: Create credscan.tsv as the list of files to scan
89+
8690
- task: CredScan@2
8791
condition: succeededOrFailed()
92+
inputs:
93+
debugMode: false
94+
scanFolder: '$(Build.SourcesDirectory)/credscan.tsv'
8895

8996
# Publish results as artifacts
9097
- task: PublishSecurityAnalysisLogs@3

0 commit comments

Comments
 (0)