Add x86 Release PR Trigger
authorMichelle McDaniel <adiaaida@gmail.com>
Tue, 10 Jan 2017 17:48:49 +0000 (09:48 -0800)
committerMichelle McDaniel <adiaaida@gmail.com>
Tue, 10 Jan 2017 17:48:49 +0000 (09:48 -0800)
Currently, only checked runs can be triggered for x86. This adds a trigger
for release runs as well.

Commit migrated from https://github.com/dotnet/coreclr/commit/ee9a8486528f40fbf571b9ca0c6dd3c02a17862e

src/coreclr/netci.groovy

index aefc0a1..1a86bb8 100755 (executable)
@@ -1216,6 +1216,10 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                     if (configuration == 'Checked') {
                         Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Build and Test")
                     }
+                    else if (configuration == 'Release') {
+                        Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Build and Test",
+                            "(?i).*test\\W+${os}\\W+${architecture}\\W+${configuration}.*")
+                    }
                     break
                 case 'pri1':
                     if (configuration == 'Release') {