Class: Megatest::CIService::Megatest
- Inherits:
-
Megatest::CIService
- Object
- Megatest::CIService
- Megatest::CIService::Megatest
- Defined in:
- lib/megatest/config.rb
Instance Attribute Summary
Attributes inherited from Megatest::CIService
Instance Method Summary collapse
Methods inherited from Megatest::CIService
configure, inherited, #initialize
Constructor Details
This class inherits a constructor from Megatest::CIService
Instance Method Details
#configure(config) ⇒ Object
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/megatest/config.rb', line 104 def configure(config) if env["CI"] config.ci = true end if url = env["MEGATEST_QUEUE_URL"] config.queue_url = url end if id = env["MEGATEST_BUILD_ID"] config.build_id = id end if id = env["MEGATEST_WORKER_ID"] config.worker_id = id end if seed = env["SEED"] config.seed = seed end end |