diff options
Diffstat (limited to 'qa/qa/runtime/env.rb')
-rw-r--r-- | qa/qa/runtime/env.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qa/qa/runtime/env.rb b/qa/qa/runtime/env.rb index 782ba1cf2fa..7cb7625118e 100644 --- a/qa/qa/runtime/env.rb +++ b/qa/qa/runtime/env.rb @@ -443,7 +443,11 @@ module QA end def export_metrics? - running_in_ci? && enabled?(ENV['QA_EXPORT_TEST_METRICS'], default: true) + enabled?(ENV['QA_EXPORT_TEST_METRICS'], default: false) + end + + def save_metrics_json? + enabled?(ENV['QA_SAVE_TEST_METRICS'], default: false) end def ee_activation_code |