fastlane-plugin-android_reporter 0.1.22 → 0.1.23
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: 37596b038a4731a48c06799055a4c3318d7df57525a0a983c90caacd0f2c74cf
|
|
4
|
+
data.tar.gz: bc0389935600b7057b51f31ae56ef4f5435f5ec8b1b60773897a197a37b2a8ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c8caf1a1d4b4deadd02b9220592334ebc481310a20c529435f1ab30acc5f1e07fb6166c494a0051f3bc09a329672d644d01f286751a35fd0bfcd6f08b7756b71
|
|
7
|
+
data.tar.gz: 12667f3c6b469ad19b786c3d65211520bc528401e6d51076c886c0e2155b89da5d07ed685e30f4ca348f9ea124c5fccca33780cb768d38bf6881b78f6a65620c
|
|
@@ -26,28 +26,30 @@ module Fastlane
|
|
|
26
26
|
isGradleErrorFileUploaded = false
|
|
27
27
|
|
|
28
28
|
# 1. Delete Previus Generated Files
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
29
|
+
if params[:is_delete_prev_files_enabled]
|
|
30
|
+
begin
|
|
31
|
+
File.open('logcat.txt', 'r') do |f|
|
|
32
|
+
File.delete(f)
|
|
33
|
+
end
|
|
34
|
+
rescue Errno::ENOENT
|
|
35
|
+
UI.message("Something Wrong When Delete Previus File [logcat.txt]")
|
|
36
|
+
end
|
|
36
37
|
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
38
|
+
begin
|
|
39
|
+
File.open('android-logs.txt', 'r') do |f|
|
|
40
|
+
File.delete(f)
|
|
41
|
+
end
|
|
42
|
+
rescue Errno::ENOENT
|
|
43
|
+
UI.message("Something Wrong When Delete Previus File [android-logs.txt]")
|
|
44
|
+
end
|
|
44
45
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
46
|
+
begin
|
|
47
|
+
File.open('android-error-logs.txt', 'r') do |f|
|
|
48
|
+
File.delete(f)
|
|
49
|
+
end
|
|
50
|
+
rescue Errno::ENOENT
|
|
51
|
+
UI.message("Something Wrong When Delete Previus File [android-error-logs.txt]")
|
|
52
|
+
end
|
|
51
53
|
end
|
|
52
54
|
|
|
53
55
|
# 0. Checkout git to Current Branch to Run Tests on the Current Branch
|
|
@@ -123,6 +125,7 @@ module Fastlane
|
|
|
123
125
|
|
|
124
126
|
begin
|
|
125
127
|
sh("adb logcat -d > logcat.txt kill-server")
|
|
128
|
+
sh("adb kill-server")
|
|
126
129
|
rescue => error
|
|
127
130
|
if error
|
|
128
131
|
UI.error("Something Error with Logcat Debug Report File")
|
|
@@ -344,6 +347,13 @@ module Fastlane
|
|
|
344
347
|
optional: true,
|
|
345
348
|
type: Boolean
|
|
346
349
|
),
|
|
350
|
+
FastlaneCore::ConfigItem.new(
|
|
351
|
+
key: :is_delete_prev_files_enabled,
|
|
352
|
+
env_name: "ANDROID_GENERATED_PREV_FILES_ENABLED",
|
|
353
|
+
description: "",
|
|
354
|
+
optional: true,
|
|
355
|
+
type: Boolean
|
|
356
|
+
),
|
|
347
357
|
FastlaneCore::ConfigItem.new(
|
|
348
358
|
key: :slack_api_key,
|
|
349
359
|
env_name: "SLACK_API_TOKEN",
|