msbuild

Форк
0
/
execute-codeql.yml 
32 строки · 2.1 Кб
1
parameters:
2
  # Language that should be analyzed. Defaults to csharp
3
  language: csharp
4
  # Build Commands
5
  buildCommands: ''
6
  overrideParameters: ''                                       # Optional: to override values for parameters.
7
  additionalParameters: ''                                     # Optional: parameters that need user specific values eg: '-SourceToolsList @("abc","def") -ArtifactToolsList @("ghi","jkl")'
8
  # Optional: if specified, restore and use this version of Guardian instead of the default.
9
  overrideGuardianVersion: ''
10
  # Optional: if true, publish the '.gdn' folder as a pipeline artifact. This can help with in-depth
11
  # diagnosis of problems with specific tool configurations.
12
  publishGuardianDirectoryToPipeline: false
13
  # The script to run to execute all SDL tools. Use this if you want to use a script to define SDL
14
  # parameters rather than relying on YAML. It may be better to use a local script, because you can
15
  # reproduce results locally without piecing together a command based on the YAML.
16
  executeAllSdlToolsScript: 'eng/common/sdl/execute-all-sdl-tools.ps1'
17
  # There is some sort of bug (has been reported) in Azure DevOps where if this parameter is named
18
  # 'continueOnError', the parameter value is not correctly picked up.
19
  # This can also be remedied by the caller (post-build.yml) if it does not use a nested parameter
20
  # optional: determines whether to continue the build if the step errors;
21
  sdlContinueOnError: false
22

23
steps:
24
- template: /eng/common/templates/steps/execute-sdl.yml
25
  parameters:
26
    overrideGuardianVersion: ${{ parameters.overrideGuardianVersion }}
27
    executeAllSdlToolsScript: ${{ parameters.executeAllSdlToolsScript }}
28
    overrideParameters: ${{ parameters.overrideParameters }}
29
    additionalParameters: '${{ parameters.additionalParameters }}
30
      -CodeQLAdditionalRunConfigParams @("BuildCommands < ${{ parameters.buildCommands }}", "Language < ${{ parameters.language }}")'
31
    publishGuardianDirectoryToPipeline: ${{ parameters.publishGuardianDirectoryToPipeline }}
32
    sdlContinueOnError: ${{ parameters.sdlContinueOnError }}

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.