forked from microsoft/PyRIT
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpolicheck.yml
More file actions
28 lines (25 loc) · 757 Bytes
/
policheck.yml
File metadata and controls
28 lines (25 loc) · 757 Bytes
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
trigger: none
pr: none
pool:
vmImage: 'windows-latest'
jobs:
- job: PoliCheck
timeoutInMinutes: 120
steps:
- task: CmdLine@2
displayName: List files
inputs:
script: |
for %%f in ("$(Build.SourcesDirectory)\*") do @echo %%f
- task: PoliCheck@2
displayName: Run PoliCheck
inputs:
targetArgument: $(Build.SourcesDirectory)/
result: $(Build.SourcesDirectory)/artifacts/result/PoliCheck.xml
optionsFTPATH: tools/SecurityTools/PoliCheckFileExtensions.xml
- task: PublishPipelineArtifact@1
displayName: Save artifacts
condition: succeededOrFailed()
inputs:
artifactName: artifacts
targetPath: artifacts