summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorjashook <jashoo@microsoft.com>2018-01-25 09:15:08 -0800
committerjashook <jashoo@microsoft.com>2018-01-25 09:20:20 -0800
commit80c2330d3cd43bd35b323588322fb374907594b5 (patch)
treecf78a42c92b708eecf36087a09d877c10c45f43b /netci.groovy
parent18051286fdea9f1643bab06f0e9829c313e84b2c (diff)
downloadcoreclr-80c2330d3cd43bd35b323588322fb374907594b5.tar.gz
coreclr-80c2330d3cd43bd35b323588322fb374907594b5.tar.bz2
coreclr-80c2330d3cd43bd35b323588322fb374907594b5.zip
Correctly allow buildOnly jobs for release x64
Diffstat (limited to 'netci.groovy')
-rwxr-xr-xnetci.groovy20
1 files changed, 17 insertions, 3 deletions
diff --git a/netci.groovy b/netci.groovy
index 3731bb9fcb..fe679c0175 100755
--- a/netci.groovy
+++ b/netci.groovy
@@ -169,6 +169,16 @@ class Constants {
'Checked'
]
],
+ 'Windows_NT_buildOnly': [
+ 'x64': [
+ 'Checked',
+ 'Release'
+ ],
+ 'x86': [
+ 'Checked',
+ 'Release'
+ ],
+ ],
'Ubuntu': [
'x64': [
'Checked'
@@ -582,7 +592,11 @@ def static isArmWindowsScenario(def scenario) {
return Constants.validArmWindowsScenarios.containsKey(scenario)
}
-def static isValidPrTriggeredInnerLoopJob(os, architecture, configuration) {
+def static isValidPrTriggeredInnerLoopJob(os, architecture, configuration, isBuildOnly) {
+ if (isBuildOnly == true) {
+ os = 'Windows_NT_buildOnly'
+ }
+
def validOsPrTriggerArchConfigs = Constants.prTriggeredValidInnerLoopCombos[os]
if (validOsPrTriggerArchConfigs == null) {
@@ -2351,7 +2365,7 @@ Constants.allScenarios.each { scenario ->
// Nothing skipped
break
case 'innerloop':
- if (!isValidPrTriggeredInnerLoopJob(os, architecture, configuration)) {
+ if (!isValidPrTriggeredInnerLoopJob(os, architecture, configuration, isBuildOnly)) {
return
}
break
@@ -2597,7 +2611,7 @@ Constants.allScenarios.each { scenario ->
case 'innerloop':
// Nothing skipped
- if (!isValidPrTriggeredInnerLoopJob(os, architecture, configuration)) {
+ if (!isValidPrTriggeredInnerLoopJob(os, architecture, configuration, false)) {
return
}
break