Use standard guardian tasks, not a manual script (#32)

* Use standard guardian tasks, not a manual script

The script used a specific version, but guardian revs all the time.

* try removing the reporting task it sucks

* you know what, forget it

let's just go back to hacks and tricks

* help now im writing cmd

* use a smaller regex

* use /ad /b not /s /b

1. /s is recursive, which is wrong
2. /ad only shows directories

* widen dir pattern

* widen glob

* put /s back in even though it is a mistake

* now try a suffix

* try all the switches
This commit is contained in:
Nathan Shively-Sanders
2020-06-04 11:50:28 -07:00
committed by GitHub
parent 8d4981412c
commit 1cb413df16

View File

@@ -18,10 +18,11 @@ steps:
batchSize: '20'
- script: |
dotnet.exe d:\a\_gdn\versions\Microsoft.Guardian.Cli.0.36.0\tools\Microsoft.Guardian.Cli.dll export --console --logger-level Standard --settings-file d:\a\1\pipeline.gdnsettings
for /f "delims=" %%a in ('dir /s /ad /b d:\a\_gdn\versions\Microsoft.Guardian.Cli.*') do dotnet.exe %%a\tools\Microsoft.Guardian.Cli.dll export --console --logger-level Standard --settings-file d:\a\1\pipeline.gdnsettings
displayName: 'guardian export'
- script: |
yarn install
node node_modules/tslint/lib/tslintCli.js -c security/tslint.json 'packages/*/src/**/*.ts'
displayName: 'tslint'