Class: KnapsackPro::Config::CI::Travis
- Inherits:
-
Base
- Object
- Base
- KnapsackPro::Config::CI::Travis
show all
- Defined in:
- lib/knapsack_pro/config/ci/travis.rb
Instance Method Summary
collapse
Methods inherited from Base
#node_index, #node_retry_count, #node_total
Instance Method Details
#branch ⇒ Object
13
14
15
|
# File 'lib/knapsack_pro/config/ci/travis.rb', line 13
def branch
ENV['TRAVIS_BRANCH']
end
|
#commit_hash ⇒ Object
9
10
11
|
# File 'lib/knapsack_pro/config/ci/travis.rb', line 9
def commit_hash
ENV['TRAVIS_COMMIT']
end
|
#node_build_id ⇒ Object
5
6
7
|
# File 'lib/knapsack_pro/config/ci/travis.rb', line 5
def node_build_id
ENV['TRAVIS_BUILD_NUMBER']
end
|
#project_dir ⇒ Object
17
18
19
|
# File 'lib/knapsack_pro/config/ci/travis.rb', line 17
def project_dir
ENV['TRAVIS_BUILD_DIR']
end
|