// Returns true if the job should be generated.
def static shouldGenerateJob(def scenario, def isPR, def architecture, def configuration, def os, def isBuildOnly)
{
- // The various "innerloop" jobs are only available as PR triggered.
+ // Innerloop jobs (except corefx_innerloop) are no longer created in Jenkins
+ if (isInnerloopTestScenario(scenario)) {
+ assert scenario != 'corefx_innerloop'
+ return false;
+ }
+
+ if (!isPR) {
+ if (scenario == 'corefx_innerloop') {
+ return false
+ }
+ }
if (!isPR) {
if (isInnerloopTestScenario(scenario)) {
}
}
+ // Disable flow jobs for innerloop pr.
+ //
+ // The only exception is windows arm(64)
+ if (isInnerloopTestScenario(scenario) && isPR && os != 'Windows_NT') {
+ assert scenario != 'corefx_innerloop'
+
+ return false;
+ }
+
// Filter based on OS and architecture.
switch (architecture) {