fastlane-plugin-android_testlab_script_swit 0.1.68 → 0.1.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9d9d2f3476e0df6dd6ec3dc453c3252704b22f2e030f106b27090807d490a12
|
|
4
|
+
data.tar.gz: bd854151dce0475e51ba296f930a1a9efc6f5c4a829e1c6391b8d5a474e5d558
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a333228889c894ff83fb754fba0f23a2945a83f80f27372a276e75fe8c97125004d5536843f640cf148e726c226945f532fe3656664e5e43d6ccfea9a9284655
|
|
7
|
+
data.tar.gz: 6d63e37c40e881f6ae166f2dc51fb0203b33c04ad03cac74111cc61e4807eec5926b3e25afe96d1098050e9f7934f7cb9124e096c8ae0821514beb034b7bd0c3
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
|
@@ -12,19 +12,19 @@ module Fastlane
|
|
|
12
12
|
def self.run(params)
|
|
13
13
|
UI.message("Start Action")
|
|
14
14
|
|
|
15
|
-
results_bucket = params[:firebase_test_lab_results_bucket] || "#{params[:project_id]}_test_results"
|
|
16
|
-
results_dir = params[:firebase_test_lab_results_dir] || "firebase_test_result_#{DateTime.now.strftime('%Y-%m-%d-%H:%M:%S')}"
|
|
15
|
+
# results_bucket = params[:firebase_test_lab_results_bucket] || "#{params[:project_id]}_test_results"
|
|
16
|
+
# results_dir = params[:firebase_test_lab_results_dir] || "firebase_test_result_#{DateTime.now.strftime('%Y-%m-%d-%H:%M:%S')}"
|
|
17
17
|
|
|
18
18
|
# Set target project
|
|
19
|
-
Helper.config(params[:project_id])
|
|
19
|
+
# Helper.config(params[:project_id])
|
|
20
20
|
|
|
21
21
|
# Activate service account
|
|
22
|
-
Helper.authenticate(params[:gcloud_key_file])
|
|
22
|
+
# Helper.authenticate(params[:gcloud_key_file])
|
|
23
23
|
|
|
24
24
|
# RoboScriptOption Add
|
|
25
|
-
robo_script_option = params[:robo_script_path].nil? ? "" : "--robo-script #{params[:robo_script_path]} "
|
|
25
|
+
# robo_script_option = params[:robo_script_path].nil? ? "" : "--robo-script #{params[:robo_script_path]} "
|
|
26
26
|
|
|
27
|
-
UI.message(params[:gcloud_components_channel])
|
|
27
|
+
# UI.message(params[:gcloud_components_channel])
|
|
28
28
|
|
|
29
29
|
# Run Firebase Test Lab
|
|
30
30
|
# Helper.run_tests(params[:gcloud_components_channel], "--type #{params[:type]} "\
|
|
@@ -90,7 +90,7 @@ module Fastlane
|
|
|
90
90
|
|
|
91
91
|
|
|
92
92
|
# Swit Message
|
|
93
|
-
HTTParty.post(params[:swit_webhook_url], body: { body_text:
|
|
93
|
+
HTTParty.post(params[:swit_webhook_url], body: { body_text: params[:swit_webhook_payload] }.to_json, headers: { 'Content-Type' => 'application/json' })
|
|
94
94
|
|
|
95
95
|
UI.message("Finish Action")
|
|
96
96
|
end
|