@@ -8,6 +8,9 @@ def project = GithubProject
8
8
// The input branch name (e.g. master)
9
9
def branch = GithubBranchName
10
10
def projectFolder = Utilities . getFolderName(project) + ' /' + Utilities . getFolderName(branch)
11
+
12
+ // Create a folder for JIT stress jobs
13
+ folder(' jitstress' )
11
14
12
15
def static getOSGroup (def os ) {
13
16
def osGroupMap = [' Ubuntu' :' Linux' ,
@@ -92,6 +95,14 @@ def static setMachineAffinity(def job, def os, def architecture) {
92
95
}
93
96
}
94
97
98
+ def static isJITStressJob (def scenario ) {
99
+ // For testing purpose, we test only one scenario here.
100
+ if (scenario == ' jitstress2_jitstressregs1' ) {
101
+ return true ;
102
+ }
103
+ return false ;
104
+ }
105
+
95
106
def static isGCStressRelatedTesting (def scenario ) {
96
107
// The 'gcstress15_pri1r2r' scenario is a basic scenario.
97
108
// Detect it and make it a GCStress related.
@@ -1405,9 +1416,10 @@ combinedScenarios.each { scenario ->
1405
1416
// Calculate names
1406
1417
def lowerConfiguration = configuration. toLowerCase()
1407
1418
def jobName = getJobName(configuration, architecture, os, scenario, isBuildOnly)
1419
+ def folderName = isJITStressJob(scenario) ? ' jitstress' : ' ' ;
1408
1420
1409
1421
// Create the new job
1410
- def newJob = job(Utilities . getFullJobName(project, jobName, isPR)) {}
1422
+ def newJob = job(Utilities . getFullJobName(project, jobName, isPR, folderName )) {}
1411
1423
1412
1424
setMachineAffinity(newJob, os, architecture)
1413
1425
0 commit comments