fastlane-plugin-android_testlab_script_swit 0.1.63 → 0.1.64
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f682bc65eeb71a668a0d0ffc875ccbcf6f0a1268cdc2a3881d10c668cc8e671
|
4
|
+
data.tar.gz: ff931f3294f95a83a631584ac6110361dd016377847d84d25d1d9d260b66da37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75890a8c09d3512eab63c768f3374caa432eb7fdb6bd19fa78729f20f015736566fd6aef0b970fb1938ee282cde0136eb2e4bea37fd078b52456b2ea9b5fc904
|
7
|
+
data.tar.gz: adb3856b1ffb7ac89af69898dca4b9ec6fecf50f5ff001c1ca18b6f1ff0c161f116421367b9aaed01768dbd192795b64871661413494d95482a2f49a09d99e92
|
data/lib/fastlane/plugin/android_testlab_script_swit/actions/android_testlab_script_swit_action.rb
CHANGED
@@ -44,7 +44,7 @@ module Fastlane
|
|
44
44
|
UI.message("Test status: #{json}")
|
45
45
|
|
46
46
|
#
|
47
|
-
|
47
|
+
payload_string = params[:swit_webhook_payload]
|
48
48
|
|
49
49
|
# 각 JSON 객체에 대해 반복
|
50
50
|
json.each do |item|
|
@@ -91,7 +91,7 @@ module Fastlane
|
|
91
91
|
|
92
92
|
|
93
93
|
# Swit Message
|
94
|
-
HTTParty.post(params[:swit_webhook_url], body:
|
94
|
+
HTTParty.post(params[:swit_webhook_url], body: payload_string.to_json, headers: { 'Content-Type' => 'application/json' })
|
95
95
|
|
96
96
|
UI.message("Finish Action")
|
97
97
|
end
|
@@ -297,19 +297,6 @@ module Fastlane
|
|
297
297
|
[['console_output.log', 'A console log when running Firebase Test Lab with gcloud']]
|
298
298
|
end
|
299
299
|
|
300
|
-
#
|
301
|
-
def wait_for_test_to_complete(url)
|
302
|
-
loop do
|
303
|
-
html = open(url).read
|
304
|
-
|
305
|
-
if html.include?("TestLab is complete")
|
306
|
-
break
|
307
|
-
else
|
308
|
-
sleep(10) # wait for 10 seconds before checking again
|
309
|
-
end
|
310
|
-
end
|
311
|
-
end
|
312
|
-
|
313
300
|
def self.example_code
|
314
301
|
|
315
302
|
end
|