Class: Omnibus::BuildSystemMetadata

Inherits:
Object
  • Object
show all
Defined in:
lib/omnibus/build_system_metadata.rb

Overview

Note:

Requires environment variables provided whichever platform metdata is being pulled from

Provides methods for fetching Omnibus project build metadata from Buildkite

Class Method Summary collapse

Class Method Details

.to_hashObject



28
29
30
31
32
# File 'lib/omnibus/build_system_metadata.rb', line 28

def to_hash
  if !ENV["BUILDKITE"].nil? && !ENV["BUILDKITE"].empty?
    Omnibus::Buildkite.to_hash
  end
end