-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathazure-pipelines.yml
80 lines (78 loc) · 4.89 KB
/
azure-pipelines.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
trigger:
- main
pool:
vmImage: windows-latest
jobs:
- job: FailingTests
steps:
- task: DotNetCoreCLI@2
inputs:
command: 'build'
projects: '**\*.csproj'
- task: VSTest@2
inputs:
testSelector: 'testAssemblies'
testAssemblyVer2: |
**\BuildResultAnalysisTest.dll
!**\obj\**
searchFolder: '$(System.DefaultWorkingDirectory)'
- job: HelixTests
steps:
- task: CmdLine@2
inputs:
script: mkdir $(Build.SourcesDirectory)\myresult123456 | echo "Pass" > $(Build.SourcesDirectory)\myresult123456\my-result-123456.txt
- template: /eng/common/templates/steps/send-to-helix.yml
parameters:
HelixSource: pr/test/buildresult/$(Build.SourceBranch) # sources must start with pr/, official/, prodcon/, or agent/
HelixType: type/tests
HelixTargetQueues: Windows.10.Amd64.Open; # specify appropriate queues here; see https://helix.dot.net/ for a list of queues
CorrelationPayloadDirectory: $(Build.SourcesDirectory)/myresult123456
XUnitProjects: $(Build.SourcesDirectory)/src/TestAggregatorHelixTests/TestAggregatorHelixTests.csproj # specify your xUnit projects (semicolon delimited) here!
XUnitPublishTargetFramework: netcoreapp3.1 # specify your publish target framework here
XUnitTargetFramework: netcoreapp3.1 # specify the framework you want to use for the xUnit runner
XUnitRunnerVersion: 2.4.1 # specify the version of xUnit runner you wish to use here
IncludeDotNetCli: true
EnableXUnitReporter: true
WaitForWorkItemCompletion: true
DotNetCliPackageType: sdk
DotNetCliVersion: 3.1.410 # full list of versions here: https://raw.githubusercontent.com/dotnet/core/main/release-notes/releases.json
Creator: dotnet-helix-low-bot # specify an appropriate Creator here -- required for external builds
- task: CmdLine@2
inputs:
script: mkdir $(Build.SourcesDirectory)\myresult123456 | echo "Fail" > $(Build.SourcesDirectory)\myresult123456\my-result-123456.txt
- template: /eng/common/templates/steps/send-to-helix.yml
parameters:
HelixSource: pr/test/buildresult/$(Build.SourceBranch) # sources must start with pr/, official/, prodcon/, or agent/
HelixType: type/tests
HelixTargetQueues: Windows.10.Amd64.Open; # specify appropriate queues here; see https://helix.dot.net/ for a list of queues
CorrelationPayloadDirectory: $(Build.SourcesDirectory)/myresult123456
XUnitProjects: $(Build.SourcesDirectory)/src/TestAggregatorHelixTests/TestAggregatorHelixTests.csproj # specify your xUnit projects (semicolon delimited) here!
XUnitPublishTargetFramework: netcoreapp3.1 # specify your publish target framework here
XUnitTargetFramework: netcoreapp3.1 # specify the framework you want to use for the xUnit runner
XUnitRunnerVersion: 2.4.1 # specify the version of xUnit runner you wish to use here
IncludeDotNetCli: true
EnableXUnitReporter: true
WaitForWorkItemCompletion: true
DotNetCliPackageType: sdk
DotNetCliVersion: 3.1.410 # full list of versions here: https://raw.githubusercontent.com/dotnet/core/main/release-notes/releases.json
Creator: dotnet-helix-low-bot # specify an appropriate Creator here -- required for external builds
- task: CmdLine@2
inputs:
script: mkdir $(Build.SourcesDirectory)\myresult123456 | echo "Fail" > $(Build.SourcesDirectory)\myresult123456\my-result-123456.txt
- template: /eng/common/templates/steps/send-to-helix.yml
parameters:
HelixSource: pr/test/buildresult/$(Build.SourceBranch) # sources must start with pr/, official/, prodcon/, or agent/
HelixType: type/tests
HelixTargetQueues: Windows.10.Amd64.Open; # specify appropriate queues here; see https://helix.dot.net/ for a list of queues
CorrelationPayloadDirectory: $(Build.SourcesDirectory)/myresult123456
XUnitProjects: $(Build.SourcesDirectory)/src/TestAggregatorHelixTests/TestAggregatorHelixTests.csproj # specify your xUnit projects (semicolon delimited) here!
XUnitPublishTargetFramework: netcoreapp3.1 # specify your publish target framework here
XUnitTargetFramework: netcoreapp3.1 # specify the framework you want to use for the xUnit runner
XUnitRunnerVersion: 2.4.1 # specify the version of xUnit runner you wish to use here
IncludeDotNetCli: true
EnableXUnitReporter: true
WaitForWorkItemCompletion: true
DotNetCliPackageType: sdk
HelixBaseUri: 'https://helix.dot.net/'
DotNetCliVersion: 3.1.410 # full list of versions here: https://raw.githubusercontent.com/dotnet/core/main/release-notes/releases.json
Creator: dotnet-helix-low-bot # specify an appropriate Creator here -- required for external builds