<commit_before># .NET Desktop
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net

variables:
  win-solution: 'DevAudit.sln'
  linux-solution: 'DevAudit.Mono.sln'
  buildPlatform: 'Any CPU'
  buildConfiguration: 'RuntimeDebug'

jobs:
- job: Windows
  pool:
    vmImage: 'VS2017-Win2016'
  steps:
  - task: NuGetToolInstaller@0
  - task: NuGetCommand@2
    inputs:
      restoreSolution: '$(win-solution)'
      feedsToUse: 'config'
      nugetConfigPath: 'NuGet.Config'

  - task: VSBuild@1
    inputs:
      solution: '$(win-solution)'
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'

- job: Linux
  pool:
    vmImage: 'ubuntu-16.04'
  steps:
  - script: $(Build.SourcesDirectory)/build.sh
  - script: docker build -t $DOCKERID/$DOCKERIMAGE:$DOCKERTAG .
  - script: docker login -u ossindexadmin -p <PASSWORD>
  - script: docker push $DOCKERID/$DOCKERIMAGE:$DOCKERTAG<commit_msg>Added more Docker env variables.<commit_after># .NET Desktop
# https://docs.microsoft.com/azure/devops/pipelines/apps/windows/dot-net

variables:
  win-solution: 'DevAudit.sln'
  linux-solution: 'DevAudit.Mono.sln'
  buildPlatform: 'Any CPU'
  buildConfiguration: 'RuntimeDebug'

jobs:
- job: Windows
  pool:
    vmImage: 'VS2017-Win2016'
  steps:
  - task: NuGetToolInstaller@0
  - task: NuGetCommand@2
    inputs:
      restoreSolution: '$(win-solution)'
      feedsToUse: 'config'
      nugetConfigPath: 'NuGet.Config'

  - task: VSBuild@1
    inputs:
      solution: '$(win-solution)'
      platform: '$(buildPlatform)'
      configuration: '$(buildConfiguration)'

- job: Linux
  pool:
    vmImage: 'ubuntu-16.04'
  steps:
  - script: $(Build.SourcesDirectory)/build.sh
  - script: docker build -t $DOCKERORGID/$DOCKERIMAGE:$DOCKERTAG .
  - script: docker login -u $DOCKERUSERID -p $DOCKERUSERPASS
  - script: docker push $DOCKERORGID/$DOCKERIMAGE:$DOCKERTAG
{'fraction_non_alphanumeric': 0.13085539714867617, 'fraction_numerical': 0.015274949083503055, 'mean_word_length': 3.1108786610878663, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, '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': '613982', 'n_tokens_mistral': 757, 'n_tokens_neox': 667, 'n_words': 133}