class LetItCrash::Matchers::Codeship
Public Instance Methods
branch()
click to toggle source
# File lib/letitcrash/matchers/codeship.rb, line 10 def branch environment['CI_BRANCH'] end
matches?()
click to toggle source
# File lib/letitcrash/matchers/codeship.rb, line 6 def matches? ci? && environment['CI_NAME'] == 'codeship' end
sha()
click to toggle source
# File lib/letitcrash/matchers/codeship.rb, line 14 def sha environment['CI_COMMIT_ID'] end