Trigger phrase currently has invalid regex
authorMatt Mitchell <matchell@outlook.com>
Thu, 7 Apr 2016 17:30:18 +0000 (10:30 -0700)
committerMatt Mitchell <matchell@outlook.com>
Thu, 7 Apr 2016 17:30:18 +0000 (10:30 -0700)
Should be double quoted for string interpolation

netci.groovy

index 0b58b69..1337266 100755 (executable)
@@ -410,11 +410,11 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                 case 'RHEL7.2':
                     if (scenario == 'default') {
                         assert !isFlowJob
-                        Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Build", '(?i).*test\\W+${os}.*')
+                        Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Build", "(?i).*test\\W+${os}.*")
                     }
                     else if (scenario == 'pri1' && isFlowJob) {
                         assert (configuration == 'Release')
-                        Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Pri 1 Build & Test", '(?i).*test\\W+${os}\\W+${scenario}.*')
+                        Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Pri 1 Build & Test", "(?i).*test\\W+${os}\\W+${scenario}.*")
                     }
                     break
                 case 'Ubuntu15.10':