File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
tools/releaseBuild/azureDevOps/templates/compliance Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 78
78
retryCountOnTaskFailure: 2
79
79
workingDirectory: '$(Build.SourcesDirectory)'
80
80
81
+ - pwsh : |
82
+ Get-ChildItem '$(BinDir)' -File |
83
+ Foreach-Object {
84
+ [pscustomobject]@{
85
+ Path = $_.FullName
86
+ Version = $_.VersionInfo.FileVersion
87
+ Md5Hash = (Get-FileHash -Algorithm MD5 -Path $_.FullName).Hash
88
+ Sha512Hash = (Get-FileHash -Algorithm SHA512 -Path $_.FullName).Hash
89
+ }
90
+ } | Export-Csv -Path '$(Build.SourcesDirectory)/ReleaseFileHash.csv'
91
+ displayName: 'Create release file hash artifact'
92
+
93
+ - task : PublishBuildArtifacts@1
94
+ displayName : ' Publish Build File Hash artifact'
95
+ inputs :
96
+ pathToPublish : ' $(Build.SourcesDirectory)/ReleaseFileHash.csv'
97
+ artifactName : ReleaseFilesHash
98
+
81
99
- task : securedevelopmentteam.vss-secure-development-tools.build-task-apiscan.APIScan@2
82
100
displayName : ' Run APIScan'
83
101
inputs :
You can’t perform that action at this time.
0 commit comments