Skip to content

Commit

Permalink
Attempt #2
Browse files Browse the repository at this point in the history
  • Loading branch information
nirinchev committed Nov 12, 2020
1 parent f6d91bd commit 5a1112d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ stage('Test') {
""".trim()

archiveArtifacts "BenchmarkDotNet.Artifacts/results/*.html"
archiveArtifacts "BenchmarkDotNet.Artifacts/results/*.md"
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions Tests/PerformanceTests/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Environments;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Exporters.Json;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Portability.Cpu;
using BenchmarkDotNet.Reports;
Expand All @@ -19,14 +20,14 @@ static void Main(string[] args)
var defaultConfig = DefaultConfig.Instance;
var config = new ManualConfig()
.AddColumnProvider(defaultConfig.GetColumnProviders().ToArray())
.AddExporter(new JenkinsHtmlExporter())
.AddLogger(defaultConfig.GetLoggers().ToArray())
.AddAnalyser(defaultConfig.GetAnalysers().ToArray())
.AddValidator(defaultConfig.GetValidators().ToArray())
.WithUnionRule(defaultConfig.UnionRule)
.WithSummaryStyle(defaultConfig.SummaryStyle)
.WithArtifactsPath(defaultConfig.ArtifactsPath)
.AddDiagnoser(MemoryDiagnoser.Default);
.AddDiagnoser(MemoryDiagnoser.Default)
.AddExporter(new JenkinsHtmlExporter(), MarkdownExporter.GitHub, JsonExporter.Full);

BenchmarkSwitcher.FromAssembly(typeof(Program).Assembly).Run(args, config);
}
Expand Down

0 comments on commit 5a1112d

Please sign in to comment.