Class: Publisher::Providers::Info::Base
- Inherits:
-
Object
- Object
- Publisher::Providers::Info::Base
- Defined in:
- lib/allure_report_publisher/lib/providers/info/_base.rb
Overview
Base class for CI executor info
Constant Summary collapse
- ALLURE_JOB_NAME =
"ALLURE_JOB_NAME".freeze
- ALLURE_RUN_ID =
"ALLURE_RUN_ID".freeze
Instance Method Summary collapse
-
#executor(_report_url) ⇒ Hash
CI Provider executor info.
-
#pr? ⇒ Boolean
Running on pull request/merge request.
-
#run_id ⇒ Integer
Pipeline run id.
Instance Method Details
#executor(_report_url) ⇒ Hash
CI Provider executor info
18 19 20 |
# File 'lib/allure_report_publisher/lib/providers/info/_base.rb', line 18 def executor(_report_url) raise("Not implemented!") end |
#pr? ⇒ Boolean
Running on pull request/merge request
25 26 27 |
# File 'lib/allure_report_publisher/lib/providers/info/_base.rb', line 25 def pr? raise("Not implemented!") end |
#run_id ⇒ Integer
Pipeline run id
32 33 34 |
# File 'lib/allure_report_publisher/lib/providers/info/_base.rb', line 32 def run_id raise("Not implemented!") end |