class LetItCrash::Matchers::TeamCity

Public Instance Methods

branch() click to toggle source
# File lib/letitcrash/matchers/team_city.rb, line 10
def branch
  environment['TEAMCITY_BUILD_BRANCH']
end
matches?() click to toggle source
# File lib/letitcrash/matchers/team_city.rb, line 6
def matches?
  environment['CI_SERVER_NAME'] == 'TeamCity'
end
sha() click to toggle source
# File lib/letitcrash/matchers/team_city.rb, line 14
def sha
  environment['TEAMCITY_BUILD_COMMIT']
end