Exclude the chromium source code from PoliCheck (#55)
* Exclude the chromium source code from PoliCheck * Try to workaround build issue * YAML FTW --------- Co-authored-by: Ladislau Szomoru <3372902+lszomoru@users.noreply.github.com>
This commit is contained in:
Родитель
2901d97846
Коммит
33954656d6
|
@ -0,0 +1,11 @@
|
|||
<PoliCheckExclusions>
|
||||
<!-- All strings must be UPPER CASE -->
|
||||
<!--Each of these exclusions is a folder name -if \[name]\exists in the file path, it will be skipped -->
|
||||
<Exclusion Type="FolderPathFull">DEPS</Exclusion>
|
||||
<!--Each of these exclusions is a folder name -if any folder or file starts with "\[name]", it will be skipped -->
|
||||
<!--<Exclusion Type="FolderPathStart">ABC|XYZ</Exclusion>-->
|
||||
<!--Each of these file types will be completely skipped for the entire scan -->
|
||||
<!--<Exclusion Type="FileType">.ABC|.XYZ</Exclusion>-->
|
||||
<!--The specified file names will be skipped during the scan regardless which folder they are in -->
|
||||
<!--<Exclusion Type="FileName">ABC.TXT|XYZ.CS</Exclusion>-->
|
||||
</PoliCheckExclusions>
|
|
@ -43,6 +43,8 @@ extends:
|
|||
- 16.x
|
||||
|
||||
testSteps:
|
||||
# https://github.com/nodejs/node-gyp/issues/2869
|
||||
- script: python3 -m pip install setuptools
|
||||
- script: npm ci
|
||||
displayName: Install dependencies
|
||||
|
||||
|
@ -50,3 +52,5 @@ extends:
|
|||
displayName: Test
|
||||
|
||||
publishPackage: ${{ parameters.publishPackage }}
|
||||
|
||||
policheckExclusionsFile: '$(Build.SourcesDirectory)/PoliCheckExclusions.xml'
|
||||
|
|
Загрузка…
Ссылка в новой задаче