Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 06246cf

Browse files
committed
Reformat conditions and add triggers for Release/Checked/Debug
1 parent 6e102d9 commit 06246cf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

netci.groovy

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1570,6 +1570,9 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
15701570
if (configuration == 'Checked') {
15711571
Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} CoreFX Tests")
15721572
}
1573+
else {
1574+
Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} CoreFX Tests", "(?i).*test\\W+${os}\\W+${architecture}\\W+${configuration}\\W+CoreFX Tests.*")
1575+
}
15731576
break
15741577
}
15751578

@@ -2431,7 +2434,6 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
24312434
if(scenario == 'corefx_innerloop') {
24322435
assert os == 'Ubuntu' || 'OSX10.12'
24332436
assert architecture == 'x64'
2434-
assert lowerConfiguration == 'checked'
24352437

24362438
buildCommands += "./build.sh ${lowerConfiguration} ${architecture} skiptests"
24372439
buildCommands += "./build-test.sh ${lowerConfiguration} ${architecture} generatetesthostonly"
@@ -2840,10 +2842,10 @@ def static shouldGenerateJob(def scenario, def isPR, def architecture, def confi
28402842
}
28412843
break
28422844
case 'corefx_innerloop':
2843-
if ( (os != 'Windows_NT' && os != 'Ubuntu' && os != 'OSX10.12') || architecture != 'x64') {
2845+
if (os != 'Windows_NT' && os != 'Ubuntu' && os != 'OSX10.12') {
28442846
return false
28452847
}
2846-
if(configuration != 'Checked') {
2848+
if (architecture != 'x64') {
28472849
return false
28482850
}
28492851
break

0 commit comments

Comments
 (0)