class LetItCrash::Matchers::Semaphore

Public Instance Methods

branch() click to toggle source
# File lib/letitcrash/matchers/semaphore.rb, line 10
def branch
  environment['BRANCH_NAME']
end
matches?() click to toggle source
# File lib/letitcrash/matchers/semaphore.rb, line 6
def matches?
  ci? && environment['SEMAPHORE'] == 'true'
end
sha() click to toggle source
# File lib/letitcrash/matchers/semaphore.rb, line 14
def sha
  environment['REVISION']
end