Class: KnapsackPro::Config::CI::Heroku
- Defined in:
- lib/knapsack_pro/config/ci/heroku.rb
Instance Method Summary collapse
- #branch ⇒ Object
- #commit_hash ⇒ Object
- #node_build_id ⇒ Object
- #node_index ⇒ Object
- #node_total ⇒ Object
- #project_dir ⇒ Object
Methods inherited from Base
Instance Method Details
#branch ⇒ Object
21 22 23 |
# File 'lib/knapsack_pro/config/ci/heroku.rb', line 21 def branch ENV['HEROKU_TEST_RUN_BRANCH'] end |
#commit_hash ⇒ Object
17 18 19 |
# File 'lib/knapsack_pro/config/ci/heroku.rb', line 17 def commit_hash ENV['HEROKU_TEST_RUN_COMMIT_VERSION'] end |
#node_build_id ⇒ Object
13 14 15 |
# File 'lib/knapsack_pro/config/ci/heroku.rb', line 13 def node_build_id ENV['HEROKU_TEST_RUN_ID'] end |
#node_index ⇒ Object
9 10 11 |
# File 'lib/knapsack_pro/config/ci/heroku.rb', line 9 def node_index ENV['CI_NODE_INDEX'] end |
#node_total ⇒ Object
5 6 7 |
# File 'lib/knapsack_pro/config/ci/heroku.rb', line 5 def node_total ENV['CI_NODE_TOTAL'] end |
#project_dir ⇒ Object
25 26 27 |
# File 'lib/knapsack_pro/config/ci/heroku.rb', line 25 def project_dir '/app' if node_build_id end |