lib/benchmark_driver/output/rubybench.rb in benchmark_driver-output-rubybench-0.3.0 vs lib/benchmark_driver/output/rubybench.rb in benchmark_driver-output-rubybench-0.3.1
- old
+ new
@@ -61,9 +61,10 @@
'benchmark_result_type[name]' => metric.name,
'benchmark_result_type[unit]' => metric.unit,
'benchmark_type[category]' => job.name,
'benchmark_type[script_url]' => ENV.fetch('BENCHMARK_TYPE_SCRIPT_URL'),
'benchmark_type[digest]' => ENV.fetch('BENCHMARK_TYPE_DIGEST'),
+ 'benchmark_type[from_user]' => ENV['BENCHMARK_USER_SCRIPT'] == '1',
'benchmark_run[environment]' => environment,
'repo' => ENV.fetch('REPO_NAME'),
'organization' => ENV.fetch('ORGANIZATION_NAME'),
}.merge(initiator_hash).merge(result_hash))