Skip to content

Commit b42af09

Browse files
committed
Remove redundant tasks
1 parent 4e392e1 commit b42af09

File tree

1 file changed

+1
-36
lines changed

1 file changed

+1
-36
lines changed

.azure-pipelines/ci-build.yml

Lines changed: 1 addition & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,6 @@ extends:
5555
displayName: 'Use .NET 8'
5656
inputs:
5757
version: 8.x
58-
59-
- task: PoliCheck@2
60-
displayName: 'Run PoliCheck "/src"'
61-
inputs:
62-
inputType: CmdLine
63-
cmdLineArgs: '/F:$(Build.SourcesDirectory)/src /T:9 /Sev:"1|2" /PE:2 /O:poli_result_src.xml'
64-
65-
- task: PoliCheck@2
66-
displayName: 'Run PoliCheck "/test"'
67-
inputs:
68-
inputType: CmdLine
69-
cmdLineArgs: '/F:$(Build.SourcesDirectory)/test /T:9 /Sev:"1|2" /PE:2 /O:poli_result_test.xml'
7058

7159
# Install the nuget tool.
7260
- task: NuGetToolInstaller@0
@@ -89,35 +77,12 @@ extends:
8977
command: test
9078
projects: '$(Build.SourcesDirectory)\Microsoft.OpenApi.sln'
9179
arguments: '--configuration $(BuildConfiguration) --no-build'
92-
93-
- task: AntiMalware@3
94-
displayName: 'Run MpCmdRun.exe - ProductBinPath'
95-
inputs:
96-
FileDirPath: '$(ProductBinPath)'
97-
enabled: false
98-
99-
- task: BinSkim@4
100-
displayName: 'Run BinSkim - Product Binaries'
101-
inputs:
102-
InputType: Basic
103-
AnalyzeTargetGlob: '$(ProductBinPath)\**\Microsoft.OpenApi.dll'
104-
AnalyzeSymPath: '$(ProductBinPath)'
105-
AnalyzeVerbose: true
106-
AnalyzeHashes: true
107-
AnalyzeEnvironment: true
10880

10981
- task: PublishSecurityAnalysisLogs@3
11082
displayName: 'Publish Security Analysis Logs'
11183
inputs:
11284
ArtifactName: SecurityLogs
11385

114-
- task: PostAnalysis@2
115-
displayName: 'Post Analysis'
116-
inputs:
117-
BinSkim: true
118-
CredScan: true
119-
PoliCheck: true
120-
12186
- task: EsrpCodeSigning@2
12287
displayName: 'ESRP CodeSigning'
12388
inputs:
@@ -321,7 +286,7 @@ extends:
321286
packagesToPush: '$(Pipeline.Workspace)/Nugets/Microsoft.OpenApi.*.nupkg'
322287
nuGetFeedType: external
323288
publishFeedCredentials: 'OpenAPI Nuget Connection'
324-
289+
325290
- deployment: deploy_readers
326291
dependsOn: deploy_lib
327292
environment: nuget-org

0 commit comments

Comments
 (0)