Class: LetItCrash::Matchers::TeamCity
- Inherits:
-
Base
- Object
- Base
- LetItCrash::Matchers::TeamCity
show all
- Defined in:
- lib/letitcrash/matchers/team_city.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Instance Method Details
#branch ⇒ Object
10
11
12
|
# File 'lib/letitcrash/matchers/team_city.rb', line 10
def branch
environment['TEAMCITY_BUILD_BRANCH']
end
|
#matches? ⇒ Boolean
6
7
8
|
# File 'lib/letitcrash/matchers/team_city.rb', line 6
def matches?
environment['CI_SERVER_NAME'] == 'TeamCity'
end
|
#sha ⇒ Object
14
15
16
|
# File 'lib/letitcrash/matchers/team_city.rb', line 14
def sha
environment['TEAMCITY_BUILD_COMMIT']
end
|