diff options
author | Sejong Oh <sejooh@microsoft.com> | 2016-06-21 13:06:29 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-21 13:06:29 -0700 |
commit | d0ff00f870784d04fb6aaa9cc55478cfd03416e4 (patch) | |
tree | 412add5cea3db40f38bf25e77d458907ff69dc66 | |
parent | b9f5ae88cc49836c8d31f07db7800707165cdb06 (diff) | |
parent | 972af956a0670c40eb4135be3de3d6041fe950fd (diff) | |
download | coreclr-d0ff00f870784d04fb6aaa9cc55478cfd03416e4.tar.gz coreclr-d0ff00f870784d04fb6aaa9cc55478cfd03416e4.tar.bz2 coreclr-d0ff00f870784d04fb6aaa9cc55478cfd03416e4.zip |
Merge pull request #5892 from sejongoh/group_jitstress_jobs
Initial changes to move JIT stress jobs into jitstress directory on CI
-rwxr-xr-x | netci.groovy | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/netci.groovy b/netci.groovy index bef7bd54ce..9dedb1e720 100755 --- a/netci.groovy +++ b/netci.groovy @@ -8,6 +8,9 @@ def project = GithubProject // The input branch name (e.g. master) def branch = GithubBranchName def projectFolder = Utilities.getFolderName(project) + '/' + Utilities.getFolderName(branch) + +// Create a folder for JIT stress jobs +folder('jitstress') def static getOSGroup(def os) { def osGroupMap = ['Ubuntu':'Linux', @@ -92,6 +95,14 @@ 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; +} + def static isGCStressRelatedTesting(def scenario) { // The 'gcstress15_pri1r2r' scenario is a basic scenario. // Detect it and make it a GCStress related. @@ -1405,9 +1416,10 @@ combinedScenarios.each { scenario -> // Calculate names def lowerConfiguration = configuration.toLowerCase() def jobName = getJobName(configuration, architecture, os, scenario, isBuildOnly) + def folderName = isJITStressJob(scenario) ? 'jitstress' : ''; // Create the new job - def newJob = job(Utilities.getFullJobName(project, jobName, isPR)) {} + def newJob = job(Utilities.getFullJobName(project, jobName, isPR, folderName)) {} setMachineAffinity(newJob, os, architecture) |