Skip to content

Commit

Permalink
Merge pull request dotnet#4320 from mmitche/add-reporting
Browse files Browse the repository at this point in the history
Add reporting functionality to the coreclr netci file
  • Loading branch information
mmitche committed Apr 13, 2016
2 parents deadffb + 8614810 commit dc86158
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions netci.groovy
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Import the utility functionality.

import jobs.generation.Utilities;
import jobs.generation.JobReport;

// The input project name (e.g. dotnet/coreclr)
def project = GithubProject
Expand Down Expand Up @@ -943,7 +944,7 @@ combinedScenarios.each { scenario ->
return
}
// only x64 or x86 for now
if (architecture != 'x64' && architecture != 'x86') {
if (architecture != 'x64') {
return
}
break
Expand All @@ -954,7 +955,7 @@ combinedScenarios.each { scenario ->
return
}
// only x64 or x86 for now
if (architecture != 'x64' && architecture != 'x86') {
if (architecture != 'x64') {
return
}
break
Expand All @@ -965,17 +966,17 @@ combinedScenarios.each { scenario ->
return
}
// only x64 or x86 for now
if (architecture != 'x64' && architecture != 'x86') {
if (architecture != 'x64') {
return
}
break
case 'longgc':
if (os != 'Windows_NT' && !(os in Constants.crossList)) {
if (os != 'Windows_NT') {
return
}

// only x64 or x86 for now
if (architecture != 'x64' && architecture != 'x86') {
if (architecture != 'x64') {
return
}
break
Expand Down Expand Up @@ -1495,6 +1496,10 @@ combinedScenarios.each { scenario ->
// Linux CoreCLR test
def flowJobName = getJobName(configuration, architecture, os, scenario, false) + "_flow"
def fullTestJobName = projectFolder + '/' + newJob.name
// Add a reference to the input jobs for report purposes
JobReport.Report.addReference(inputCoreCLRBuildName)
JobReport.Report.addReference(inputWindowTestsBuildName)
JobReport.Report.addReference(fullTestJobName)
def newFlowJob = buildFlowJob(Utilities.getFullJobName(project, flowJobName, isPR)) {
buildFlow("""
// Build the input jobs in parallel
Expand All @@ -1516,3 +1521,5 @@ build(params + [CORECLR_BUILD: coreclrBuildJob.build.number,
} // architecture
} // isPR
} // scenario

JobReport.Report.generateJobReport(out)

0 comments on commit dc86158

Please sign in to comment.