mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Java: add Semmle to Java publishing pipelines (#6326)
Add Semmle to Java API pipeline Add security results publishing and add Java GPU.
This commit is contained in:
parent
aacc8dbfa3
commit
6b73bae035
2 changed files with 30 additions and 0 deletions
|
|
@ -123,6 +123,21 @@ jobs:
|
|||
- template: templates/component-governance-component-detection-steps.yml
|
||||
parameters :
|
||||
condition : 'succeeded'
|
||||
|
||||
- task: Semmle@0
|
||||
inputs:
|
||||
sourceCodeDirectory: '$(Build.SourcesDirectory)\java'
|
||||
language: 'java'
|
||||
cleanupBuildCommands: 'C:\ProgramData\chocolatey\bin\gradle.exe -Dorg.gradle.daemon=false -DUSE_CUDA=1 clean'
|
||||
buildCommands: 'C:\ProgramData\chocolatey\bin\gradle.exe -Dorg.gradle.daemon=false -DUSE_CUDA=1 jar'
|
||||
querySuite: 'Recommended'
|
||||
timeout: '7200'
|
||||
ram: '16384'
|
||||
addProjectDirToScanningExclusionList: true
|
||||
|
||||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@2
|
||||
displayName: 'Publish Security Analysis Logs'
|
||||
continueOnError: true
|
||||
|
||||
- template: templates/clean-agent-build-directory-step.yml
|
||||
|
||||
|
|
|
|||
|
|
@ -168,6 +168,21 @@ jobs:
|
|||
- template: templates/component-governance-component-detection-steps.yml
|
||||
parameters :
|
||||
condition : 'succeeded'
|
||||
|
||||
- task: Semmle@0
|
||||
inputs:
|
||||
sourceCodeDirectory: '$(Build.SourcesDirectory)\java'
|
||||
language: 'java'
|
||||
cleanupBuildCommands: 'C:\ProgramData\chocolatey\bin\gradle.exe -Dorg.gradle.daemon=false clean'
|
||||
buildCommands: 'C:\ProgramData\chocolatey\bin\gradle.exe -Dorg.gradle.daemon=false jar'
|
||||
querySuite: 'Recommended'
|
||||
timeout: '7200'
|
||||
ram: '16384'
|
||||
addProjectDirToScanningExclusionList: true
|
||||
|
||||
- task: securedevelopmentteam.vss-secure-development-tools.build-task-publishsecurityanalysislogs.PublishSecurityAnalysisLogs@2
|
||||
displayName: 'Publish Security Analysis Logs'
|
||||
continueOnError: true
|
||||
|
||||
- template: templates/clean-agent-build-directory-step.yml
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue