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.

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') {