@@ -245,18 +245,12 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
245
245
case ' pri1' :
246
246
// Pri one gets a push trigger, and only for release
247
247
if (architecture == ' x64' ) {
248
- if (configuration == ' Release' && os != ' CentOS7.1 ' ) {
249
- // We expect release jobs to be Windows, Ubuntu, or OSX
248
+ if (configuration == ' Release' ) {
249
+ // We expect release jobs to be Windows, Ubuntu, CentOS or OSX
250
250
assert (os == ' Windows_NT' ) || (os in Constants . crossList)
251
251
if (isFlowJob || os == ' Windows_NT' ) {
252
252
Utilities . addGithubPushTrigger(job)
253
253
}
254
- } else if (configuration == ' Checked' && os == ' CentOS7.1' ) {
255
- // We expect checked jobs to be CentOS flow jobs
256
- assert (os in Constants . crossList)
257
- if (isFlowJob) {
258
- Utilities . addGithubPushTrigger(job)
259
- }
260
254
}
261
255
}
262
256
break
@@ -283,7 +277,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
283
277
break
284
278
case ' ilrt' :
285
279
// ILASM/ILDASM roundtrip one gets a daily build, and only for release
286
- if (architecture == ' x64' && configuration == ' Release' && os != ' CentOS7.1 ' ) {
280
+ if (architecture == ' x64' && configuration == ' Release' ) {
287
281
// We don't expect to see a job generated except in these scenarios
288
282
assert (os == ' Windows_NT' ) || (os in Constants . crossList)
289
283
if (isFlowJob || os == ' Windows_NT' ) {
@@ -509,7 +503,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
509
503
case ' CentOS7.1' :
510
504
switch (scenario) {
511
505
case ' pri1' :
512
- if (configuration == ' Checked ' ) {
506
+ if (configuration == ' Release ' ) {
513
507
Utilities . addGithubPRTriggerForBranch(job, branch, " ${ os} ${ architecture} ${ configuration} Priority 1 Build and Test" , " (?i).*test\\ W+${ os} \\ W+${ scenario} .*" )
514
508
}
515
509
break
@@ -1100,7 +1094,7 @@ combinedScenarios.each { scenario ->
1100
1094
} // isPR
1101
1095
} // scenario
1102
1096
1103
- // Create the Linux/OSX coreclr test leg for debug and release and each scenario
1097
+ // Create the Linux/OSX/CentOS coreclr test leg for debug and release and each scenario
1104
1098
combinedScenarios. each { scenario ->
1105
1099
[true , false ]. each { isPR ->
1106
1100
// Architectures. x64 only at this point
@@ -1117,12 +1111,12 @@ combinedScenarios.each { scenario ->
1117
1111
return
1118
1112
}
1119
1113
}
1120
- // For CentOS, we only want Checked pri1 builds.
1114
+ // For CentOS, we only want Checked/Release pri1 builds.
1121
1115
else if (os == ' CentOS7.1' ) {
1122
1116
if (scenario != ' pri1' && scenario != ' r2r' && scenario != ' pri1r2r' ) {
1123
1117
return
1124
1118
}
1125
- if (configuration != ' Checked' ) {
1119
+ if (configuration != ' Checked' && configuration != ' Release ' ) {
1126
1120
return
1127
1121
}
1128
1122
}
0 commit comments