diff options
author | Sejong Oh <sejooh@microsoft.com> | 2016-06-21 14:31:06 -0700 |
---|---|---|
committer | Sejong Oh <sejooh@microsoft.com> | 2016-06-21 14:31:06 -0700 |
commit | 361d469b1c3ff9d913f17c1d01da50c16de0ba09 (patch) | |
tree | 2661948be25451e5be49507f965bd09b7ad90234 /netci.groovy | |
parent | 972af956a0670c40eb4135be3de3d6041fe950fd (diff) | |
download | coreclr-361d469b1c3ff9d913f17c1d01da50c16de0ba09.tar.gz coreclr-361d469b1c3ff9d913f17c1d01da50c16de0ba09.tar.bz2 coreclr-361d469b1c3ff9d913f17c1d01da50c16de0ba09.zip |
Move all JIT stress jobs into a sub directory on CI
Diffstat (limited to 'netci.groovy')
-rwxr-xr-x | netci.groovy | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/netci.groovy b/netci.groovy index 9e519de698..9acc8a3b46 100755 --- a/netci.groovy +++ b/netci.groovy @@ -96,11 +96,7 @@ def static setMachineAffinity(def job, def os, def architecture) { } def static isJITStressJob(def scenario) { - // For testing purpose, we test only one scenario here. - if (scenario == 'jitstress2_jitstressregs1') { - return true; - } - return false; + return Constants.jitStressModeScenarios.containsKey(scenario) } def static isGCStressRelatedTesting(def scenario) { @@ -1420,7 +1416,7 @@ combinedScenarios.each { scenario -> // Create the new job def newJob = job(Utilities.getFullJobName(project, jobName, isPR, folderName)) {} - + setMachineAffinity(newJob, os, architecture) // Add all the standard options @@ -1809,12 +1805,14 @@ combinedScenarios.each { scenario -> } } } + } // os } // configuration } // architecture } // isPR } // scenario + // Create the Linux/OSX/CentOS coreclr test leg for debug and release and each scenario combinedScenarios.each { scenario -> [true, false].each { isPR -> @@ -1928,6 +1926,7 @@ combinedScenarios.each { scenario -> def lowerConfiguration = configuration.toLowerCase() def osGroup = getOSGroup(os) def jobName = getJobName(configuration, architecture, os, scenario, false) + "_tst" + // Unless this is a coverage test run, we want to copy over the default build of coreclr. def inputScenario = 'default' if (scenario == 'coverage') { @@ -2045,8 +2044,8 @@ combinedScenarios.each { scenario -> } } - - def newJob = job(Utilities.getFullJobName(project, jobName, isPR)) { + def folder = isJITStressJob(scenario) ? 'jitstress' : '' + def newJob = job(Utilities.getFullJobName(project, jobName, isPR, folder)) { // Add parameters for the inputs parameters { @@ -2192,7 +2191,7 @@ combinedScenarios.each { scenario -> JobReport.Report.addReference(inputCoreCLRBuildName) JobReport.Report.addReference(inputWindowTestsBuildName) JobReport.Report.addReference(fullTestJobName) - def newFlowJob = buildFlowJob(Utilities.getFullJobName(project, flowJobName, isPR)) { + def newFlowJob = buildFlowJob(Utilities.getFullJobName(project, flowJobName, isPR, folder)) { buildFlow(""" // Build the input jobs in parallel parallel ( |