Class: Jiminy::Reporting::CIProviders::CircleCI::Artifact
- Defined in:
- lib/jiminy/reporting/ci_providers/circle_ci/artifact.rb
Instance Attribute Summary
Attributes inherited from Base
Class Method Summary collapse
Methods inherited from Base
define_attribute_readers, fetch_api_resource, #initialize
Constructor Details
This class inherits a constructor from Jiminy::Reporting::CIProviders::CircleCI::Base
Class Method Details
.all(job_number:) ⇒ Object
10 11 12 13 14 |
# File 'lib/jiminy/reporting/ci_providers/circle_ci/artifact.rb', line 10 def self.all(job_number:) # TODO: Support different results names here fetch_api_resource("project/gh/#{Jiminy.config.repo_path}/#{job_number}/artifacts"). select { |artifact| artifact.url.end_with?("jiminy/results.yml") } end |