Class: KnapsackPro::Config::CI::Codefresh
- Inherits:
-
Base
- Object
- Base
- KnapsackPro::Config::CI::Codefresh
show all
- Defined in:
- lib/knapsack_pro/config/ci/codefresh.rb
Instance Method Summary
collapse
Methods inherited from Base
#node_retry_count, #user_seat
Instance Method Details
#branch ⇒ Object
22
23
24
|
# File 'lib/knapsack_pro/config/ci/codefresh.rb', line 22
def branch
ENV['CF_BRANCH']
end
|
#commit_hash ⇒ Object
18
19
20
|
# File 'lib/knapsack_pro/config/ci/codefresh.rb', line 18
def commit_hash
ENV['CF_REVISION']
end
|
#detected ⇒ Object
30
31
32
|
# File 'lib/knapsack_pro/config/ci/codefresh.rb', line 30
def detected
ENV.key?('CF_BUILD_ID') ? self.class : nil
end
|
#fixed_queue_split ⇒ Object
34
35
36
|
# File 'lib/knapsack_pro/config/ci/codefresh.rb', line 34
def fixed_queue_split
false
end
|
#node_build_id ⇒ Object
14
15
16
|
# File 'lib/knapsack_pro/config/ci/codefresh.rb', line 14
def node_build_id
ENV['CF_BUILD_ID']
end
|
#node_index ⇒ Object
10
11
12
|
# File 'lib/knapsack_pro/config/ci/codefresh.rb', line 10
def node_index
end
|
#node_total ⇒ Object
6
7
8
|
# File 'lib/knapsack_pro/config/ci/codefresh.rb', line 6
def node_total
end
|
#project_dir ⇒ Object
26
27
28
|
# File 'lib/knapsack_pro/config/ci/codefresh.rb', line 26
def project_dir
end
|