forked from dotnet/aspnetcore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstress.yml
34 lines (32 loc) · 1.1 KB
/
stress.yml
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