summaryrefslogtreecommitdiff
path: root/netci.groovy
diff options
context:
space:
mode:
authorMatt Mitchell <mmitche@microsoft.com>2016-01-14 14:46:44 -0800
committerMatt Mitchell <mmitche@microsoft.com>2016-01-14 14:46:44 -0800
commit2fecc16df71261299d892ada327c7212b7ea367d (patch)
treeb3560a19e8071e64635e3dfbb794fc8dfd122ca1 /netci.groovy
parent183790c589146e0f08988b96f83e9545901fe963 (diff)
downloadcoreclr-2fecc16df71261299d892ada327c7212b7ea367d.tar.gz
coreclr-2fecc16df71261299d892ada327c7212b7ea367d.tar.bz2
coreclr-2fecc16df71261299d892ada327c7212b7ea367d.zip
Add checked build jobs to Jenkins
Initially checked will only run on commits. Once verification is completed, checked will replace release for most testing
Diffstat (limited to 'netci.groovy')
-rw-r--r--netci.groovy22
1 files changed, 15 insertions, 7 deletions
diff --git a/netci.groovy b/netci.groovy
index cb4e781bcd..eb4a183bb0 100644
--- a/netci.groovy
+++ b/netci.groovy
@@ -66,7 +66,7 @@ def static getBuildJobName(def configuration, def architecture, def os, def scen
// **************************
// Define the basic inner loop builds for PR and commit. This is basically just the set
-// of coreclr builds over linux/osx/freebsd/windows and debug/release. In addition, the windows
+// of coreclr builds over linux/osx/freebsd/windows and debug/release/checked. In addition, the windows
// builds will do a couple extra steps.
// **************************
@@ -173,13 +173,17 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
case 'OpenSUSE13.2':
assert !isFlowJob
assert scenario == 'default'
- Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build")
+ if (configuration != 'Checked') {
+ Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build")
+ }
break
case 'Windows_NT':
switch (scenario) {
case 'default':
// Default trigger
- Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build and Test")
+ if (configuration != 'Checked') {
+ Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build and Test")
+ }
break
case 'pri1':
if (configuration == 'Release') {
@@ -199,7 +203,9 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
break
case 'FreeBSD':
assert scenario == 'default'
- Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build")
+ if (configuration != 'Checked') {
+ Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build")
+ }
break
default:
println("Unknown os: ${os}");
@@ -225,7 +231,9 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
assert scenario == 'default'
// For windows, x86 runs by default
if (os == 'Windows_NT') {
- Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build")
+ if (configuration != 'Checked') {
+ Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build")
+ }
}
else {
// default trigger
@@ -243,7 +251,7 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
['default', 'pri1', 'ilrt'].each { scenario ->
[true, false].each { isPR ->
['arm', 'arm64', 'x64', 'x86'].each { architecture ->
- ['Debug', 'Release'].each { configuration ->
+ ['Debug', 'Checked', 'Release'].each { configuration ->
Constants.osList.each { os ->
// Skip totally unimplemented (in CI) configurations.
switch (architecture) {
@@ -459,7 +467,7 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
['x64'].each { architecture ->
// Put the OS's supported for coreclr cross testing here
Constants.crossList.each { os ->
- ['Debug', 'Release'].each { configuration ->
+ ['Debug', 'Checked', 'Release'].each { configuration ->
// Skip scenarios
switch (scenario) {