Class: CircleCI::CoverageReporter::Runner
- Inherits:
-
Object
- Object
- CircleCI::CoverageReporter::Runner
- Defined in:
- lib/circleci/coverage_reporter/runner.rb
Instance Method Summary collapse
Instance Method Details
#dump ⇒ void
This method returns an undefined value.
13 14 15 16 17 18 19 20 21 |
# File 'lib/circleci/coverage_reporter/runner.rb', line 13 def dump puts <<~EOF Runner | Value ------------------|----------------------------------------------------------------------------------- base_build | #{base_build.inspect} base_build_number | #{base_build_number.inspect} previous_build | #{previous_build.inspect} EOF end |
#run ⇒ void
This method returns an undefined value.
7 8 9 10 |
# File 'lib/circleci/coverage_reporter/runner.rb', line 7 def run reports = reporters.map { |reporter| reporter.report(base_build, previous_build) } vcs_client.create_comment(reports.map(&:to_s).join("\n")) end |