summaryrefslogtreecommitdiff
path: root/buildpipeline
diff options
context:
space:
mode:
authorMichelle McDaniel <adiaaida@gmail.com>2017-10-03 15:55:38 -0700
committerMichelle McDaniel <adiaaida@gmail.com>2017-10-03 15:55:38 -0700
commit8e4352c7a753ce06d679fa1a1f752e900a66b296 (patch)
treef42063e4a8afc3be3d36eb04b584e612911f4095 /buildpipeline
parentb19210d68ac8905c9017f8719010dd900b54c127 (diff)
downloadcoreclr-8e4352c7a753ce06d679fa1a1f752e900a66b296.tar.gz
coreclr-8e4352c7a753ce06d679fa1a1f752e900a66b296.tar.bz2
coreclr-8e4352c7a753ce06d679fa1a1f752e900a66b296.zip
Change name of perf-pipelinejobs to perf_pipelinejobs
Diffstat (limited to 'buildpipeline')
-rw-r--r--buildpipeline/perf_pipelinejobs.groovy28
1 files changed, 28 insertions, 0 deletions
diff --git a/buildpipeline/perf_pipelinejobs.groovy b/buildpipeline/perf_pipelinejobs.groovy
new file mode 100644
index 0000000000..5979041dd8
--- /dev/null
+++ b/buildpipeline/perf_pipelinejobs.groovy
@@ -0,0 +1,28 @@
+import jobs.generation.JobReport;
+import jobs.generation.Utilities;
+import org.dotnet.ci.pipelines.Pipeline
+
+// The input project name (e.g. dotnet/corefx)
+def project = GithubProject
+// The input branch name (e.g. master)
+def branch = GithubBranchName
+
+// **************************
+// Define innerloop testing. Any configuration in ForPR will run for every PR but all other configurations
+// will have a trigger that can be
+// **************************
+
+def perfPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/perf-pipeline.groovy')
+
+def triggerName = "Perf Build and Test"
+def pipeline = perfPipeline
+
+// If we were using parameters for the pipeline job, we would define an array of parameter pairs
+// and pass that array as a parameter to the trigger functions. Ie:
+// def params = ['CGroup':'Release',
+// 'AGroup':'x64',
+// 'OGroup':'Windows_NT']
+// pipeline.triggerPipelinOnGithubPRComment(triggerName, params)
+
+pipeline.triggerPipelineOnEveryGithubPR(triggerName)
+pipeline.triggerPipelineOnGithubPush()