<commit_before># Branches that trigger a build on commit
trigger:
  - main
  - release/*
  - features/*
  - 2.9.x

variables:
  - name: _TeamName
    value: Roslyn
  - name: _DotNetArtifactsCategory
    value: .NETCore
  - name: _DotNetValidationArtifactsCategory
    value: .NETCoreValidation
  - group: DotNet-Roslyn-SDLValidation-Params
  - group: DotNet-Blob-Feed
  - group: DotNet-Symbol-Server-Pats
  - group: DotNet-Versions-Publish
  - group: ManagedLanguageSecrets

stages:
- stage: build
  displayName: Build
  jobs:
  - ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
    - template: /eng/common/templates/job/onelocbuild.yml
      parameters:
        MirrorRepo: roslyn-analyzers
        LclSource: lclFilesfromPackage
        LclPackageId: 'LCL-JUNO-PROD-ROSANLZR'
  - template: /eng/common/templates/jobs/jobs.yml
    parameters:
      enableMicrobuild: true
      enablePublishBuildArtifacts: true
      enablePublishTestResults: true
      enablePublishBuildAssets: true
      enablePublishUsingPipelines: true
      enableTelemetry: true
      enableSourceBuild: true
      jobs:
      - job: Signed_Build
        pool:
          name: NetCoreInternal-Pool
          queue: BuildPool.Windows.10.Amd64.VS2019.Pre
        variables:
          - group: DotNet-Blob-Feed
          - group: Publish-Build-Assets
          - name: _BuildConfig
            value: Release
          - name: _SignType
            value: real
        steps:
        - checkout: self
          clean: true
        - script: eng\common\CIBuild.cmd <commit_msg>also ensure signed build work<commit_after># Branches that trigger a build on commit
trigger:
  - main
  - release/*
  - features/*
  - 2.9.x

variables:
  - name: _TeamName
    value: Roslyn
  - name: _DotNetArtifactsCategory
    value: .NETCore
  - name: _DotNetValidationArtifactsCategory
    value: .NETCoreValidation
  - group: DotNet-Roslyn-SDLValidation-Params
  - group: DotNet-Blob-Feed
  - group: DotNet-Symbol-Server-Pats
  - group: DotNet-Versions-Publish
  - group: ManagedLanguageSecrets

stages:
- stage: build
  displayName: Build
  jobs:
  - ${{ if eq(variables['Build.SourceBranch'], 'refs/heads/main') }}:
    - template: /eng/common/templates/job/onelocbuild.yml
      parameters:
        MirrorRepo: roslyn-analyzers
        LclSource: lclFilesfromPackage
        LclPackageId: 'LCL-JUNO-PROD-ROSANLZR'
  - template: /eng/common/templates/jobs/jobs.yml
    parameters:
      enableMicrobuild: true
      enablePublishBuildArtifacts: true
      enablePublishTestResults: true
      enablePublishBuildAssets: true
      enablePublishUsingPipelines: true
      enableTelemetry: true
      enableSourceBuild: true
      jobs:
      - job: Signed_Build
        pool:
          name: NetCore1ESPool-Internal
          demands: ImageOverride -equals Build.Windows.Amd64.VS2022.Pre
        variables:
          - group: DotNet-Blob-Feed
          - group: Publish-Build-Assets
          - name: _BuildConfig
            value: Release
          - name: _SignType
            value: real
        steps:
        - checkout: self
          clean: true
        - script: eng\common\CIBuild.cmd 
{'fraction_non_alphanumeric': 0.08895899053627761, 'fraction_numerical': 0.005993690851735016, 'mean_word_length': 2.3698193411264614, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3842145', 'n_tokens_mistral': 1016, 'n_tokens_neox': 980, 'n_words': 204}