Make formatting jobs required for PR
authorMichelle McDaniel <adiaaida@gmail.com>
Wed, 21 Sep 2016 16:56:46 +0000 (09:56 -0700)
committerMichelle McDaniel <adiaaida@gmail.com>
Wed, 21 Sep 2016 20:52:10 +0000 (13:52 -0700)
netci.groovy

index a2e3c77..d20535b 100755 (executable)
@@ -557,7 +557,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
             if (scenario == 'formatting') {
                 assert configuration == 'Checked'
                 if (os == 'Windows_NT' || os == 'Ubuntu') {
-                    Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} Formatting", "(?i).*test\\W+${os}\\W+formatting.*")
+                    Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} Formatting")
                 }
                 break
             }
@@ -2573,4 +2573,4 @@ JobReport.Report.generateJobReport(out)
 // Make the call to generate the help job
 Utilities.createHelperJob(this, project, branch,
     "Welcome to the ${project} Repository",  // This is prepended to the help message
-    "Have a nice day!")  // This is appended to the help message.  You might put known issues here.
\ No newline at end of file
+    "Have a nice day!")  // This is appended to the help message.  You might put known issues here.