Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stress.yml « pipelines « .azure - github.com/dotnet/aspnetcore.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ec6207f2e6d4af5cc6a1a00af4108037e877c079 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This configuration builds the repository and runs stress
pr: none

# Don't run CI for this config
trigger: none

variables:
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
  value: true
- name: _TeamName
  value:  AspNetCore
- ${{ if and(ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:
  - name: _BuildArgs
    value: /p:TeamName=$(_TeamName)
      /p:OfficialBuildId=$(Build.BuildNumber)
- ${{ if or(eq(variables['System.TeamProject'], 'public'), in(variables['Build.Reason'], 'PullRequest')) }}:
  - name: _BuildArgs
    value: ''
jobs:
- template: jobs/default-build.yml
  parameters:
    jobName: Windows_Stress_Test
    jobDisplayName: "Windows Stress test"
    agentOs: Windows
    isAzDOTestingJob: true
    steps:
    - script: .\src\Servers\Kestrel\stress\build.cmd -ci -c Release
      displayName: Build Repo
    - script: .\.dotnet\dotnet.exe run --project .\src\Servers\Kestrel\stress\HttpStress.csproj -c Release -aspnetlog
      displayName: Run stress
    artifacts:
    - name: Windows_Test_Stress_Logs
      path: artifacts/log/
      publishOnError: true