Skip to content

Commit

Permalink
Merged PR 4583: eng | Fix policheck errors.
Browse files Browse the repository at this point in the history
Fix policheck errors.

Sample pipeline run which did not have policheck errors:

https://sqlclientdrivers.visualstudio.com/ADO.Net/_build/results?buildId=88114&view=sariftools.scans.build-tab

Related work items: #30279
  • Loading branch information
arellegue authored and Javad Rahnama committed May 24, 2024
1 parent 05d51bf commit 4c088eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .config/PolicheckExclusions.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<PoliCheckExclusions>
<Exclusion Type="FolderPathStart">SRC/MICROSOFT.DATA.SQLCLIENT/TESTS</Exclusion>
<Exclusion Type="FileType">.YML|.MD|.SQL</Exclusion>
<Exclusion Type="FileName">NOTICE.TXT</Exclusion>
<Exclusion Type="FileName">NOTICE.TXT|SQLDATAADAPTER.CS</Exclusion>
</PoliCheckExclusions>
2 changes: 1 addition & 1 deletion eng/pipelines/dotnet-sqlclient-signing-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ extends:
policheck:
enabled: true
break: true # always break the build on policheck issues. You can disable it by setting to 'false'
exclusionsFile: $(REPOROOT)\.config\PolicheckExclusions.xml
optionsUEPATH: $(REPOROOT)\.config\PolicheckExclusions.xml
armory:
enabled: true
break: true
Expand Down

0 comments on commit 4c088eb

Please sign in to comment.