Class: Publisher::Providers::Provider
- Inherits:
-
Object
- Object
- Publisher::Providers::Provider
- Defined in:
- lib/allure_report_publisher/lib/providers/_provider.rb
Overview
Base class for CI executor info
Instance Method Summary collapse
-
#add_result_summary ⇒ void
Add report url to pull request description.
-
#initialize(**args) ⇒ Provider
constructor
CI provider base.
Constructor Details
#initialize(**args) ⇒ Provider
CI provider base
37 38 39 40 41 42 43 44 45 46 |
# File 'lib/allure_report_publisher/lib/providers/_provider.rb', line 37 def initialize(**args) @report_url = args[:report_url] @report_path = args[:report_path] @update_pr = args[:update_pr] @summary_type = args[:summary_type] @summary_table_type = args[:summary_table_type] @collapse_summary = args[:collapse_summary] @flaky_warning_status = args[:flaky_warning_status] @report_title = args[:report_title] end |
Instance Method Details
#add_result_summary ⇒ void
This method returns an undefined value.
Add report url to pull request description
51 52 53 54 55 |
# File 'lib/allure_report_publisher/lib/providers/_provider.rb', line 51 def add_result_summary return add_comment if comment? update_pr_description end |