Class: KnapsackPro::Config::CI::AppVeyor
- Inherits:
-
Base
- Object
- Base
- KnapsackPro::Config::CI::AppVeyor
show all
- Defined in:
- lib/knapsack_pro/config/ci/app_veyor.rb
Instance Method Summary
collapse
Methods inherited from Base
#node_retry_count, #test_queue_id
Instance Method Details
#branch ⇒ Object
24
25
26
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 24
def branch
ENV['APPVEYOR_REPO_BRANCH']
end
|
#ci_provider ⇒ Object
44
45
46
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 44
def ci_provider
"AppVeyor"
end
|
#commit_hash ⇒ Object
20
21
22
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 20
def commit_hash
ENV['APPVEYOR_REPO_COMMIT']
end
|
#detected ⇒ Object
36
37
38
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 36
def detected
ENV.key?('APPVEYOR') ? self.class : nil
end
|
#fixed_queue_split ⇒ Object
40
41
42
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 40
def fixed_queue_split
false
end
|
#node_build_id ⇒ Object
16
17
18
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 16
def node_build_id
ENV['APPVEYOR_BUILD_ID']
end
|
#node_index ⇒ Object
12
13
14
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 12
def node_index
end
|
#node_total ⇒ Object
8
9
10
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 8
def node_total
end
|
#project_dir ⇒ Object
28
29
30
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 28
def project_dir
ENV['APPVEYOR_BUILD_FOLDER']
end
|
#user_seat ⇒ Object
32
33
34
|
# File 'lib/knapsack_pro/config/ci/app_veyor.rb', line 32
def user_seat
ENV['APPVEYOR_REPO_COMMIT_AUTHOR']
end
|