// Returns true if the job should be generated.
def static shouldGenerateJob(def scenario, def isPR, def architecture, def configuration, def os, def isBuildOnly)
{
+ def windowsArmJob = ((os == "Windows_NT") && (architecture in Constants.armWindowsCrossArchitectureList))
+
// Innerloop jobs (except corefx_innerloop) are no longer created in Jenkins
- if (isInnerloopTestScenario(scenario)) {
+ // The only exception is windows arm(64)
+ if (isInnerloopTestScenario(scenario) && isPR && !windowsArmJob) {
assert scenario != 'corefx_innerloop'
return false;
}
if (!isPR) {
- if (scenario == 'corefx_innerloop') {
- return false
- }
- }
-
- if (!isPR) {
if (isInnerloopTestScenario(scenario)) {
return false
}