-
Notifications
You must be signed in to change notification settings - Fork 123
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
57 lines (47 loc) · 1.38 KB
/
azure-pipelines.yml
File metadata and controls
57 lines (47 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
strategy:
matrix:
Windows:
imageName: 'windows-2019'
trigger:
- master
pool:
vmImage: $(imageName)
variables:
solution: '$(Build.SourcesDirectory)/**/sdk/*.sln;$(Build.SourcesDirectory)/**/secure-app-model/**/*.sln'
buildPlatform: 'Any CPU'
buildConfiguration: 'Release'
steps:
- task: CredScan@2
displayName: CredScan
inputs:
toolMajorVersion: 'V2'
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
- task: PoliCheck@1
displayName: PoliCheck
inputs:
inputType: 'Basic'
targetType: 'F'
targetArgument: '$(Build.SourcesDirectory)'
result: 'PoliCheck.xml'
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))
- task: NuGetToolInstaller@1
displayName: Use NuGet 5.4.0
inputs:
versionSpec: 5.4.0
- task: NuGetCommand@2
inputs:
restoreSolution: '$(solution)'
- task: VSBuild@1
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'
- task: BinSkim@3
displayName: BinSkim
inputs:
InputType: 'Basic'
Function: 'analyze'
AnalyzeTarget: 'sdk\SdkSamples\bin\$(buildConfiguration)\*.dll;'
condition: and(succeeded(), eq(variables['Agent.OS'], 'Windows_NT'))