Merge pull request #15396 from BruceForstall/LimitArm64Hardware
[platform/upstream/coreclr.git] / buildpipeline / perf_pipelinejobs.groovy
1 import jobs.generation.JobReport;
2 import jobs.generation.Utilities;
3 import org.dotnet.ci.pipelines.Pipeline
4
5 // The input project name (e.g. dotnet/corefx)
6 def project = GithubProject
7 // The input branch name (e.g. master)
8 def branch = GithubBranchName
9
10 // **************************
11 // Define innerloop testing. Any configuration in ForPR will run for every PR but all other configurations
12 // will have a trigger that can be
13 // **************************
14
15 def perfPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/perf-pipeline.groovy')
16
17 def triggerName = "Perf Build and Test"
18 def pipeline = perfPipeline
19
20 // If we were using parameters for the pipeline job, we would define an array of parameter pairs
21 // and pass that array as a parameter to the trigger functions. Ie:
22 // def params = ['CGroup':'Release',
23 //               'AGroup':'x64',
24 //               'OGroup':'Windows_NT']
25 // pipeline.triggerPipelinOnGithubPRComment(triggerName, params)
26
27 params = ['XUNIT_PERFORMANCE_MAX_ITERATION':'6',
28           'XUNIT_PERFORMANCE_MAX_ITERATION_INNER_SPECIFIED':'6']
29
30 // Allow PR jobs on request.
31 pipeline.triggerPipelineOnGithubPRComment(triggerName, params)
32
33 // Disable automatic PR runs until throughput issues are addressed.
34 // pipeline.triggerPipelineOnEveryGithubPR(triggerName, params)
35 pipeline.triggerPipelinePeriodically('*/12 * * * *', params)