fastlane-plugin-gs_project_flow_ios 0.4.16 → 0.4.17
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9345a779d2feceb41ae6da6b7970df695f5eb5bc
|
4
|
+
data.tar.gz: c933ea836c1cddcbc33a6a002de4f0e9862f6e06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8b3102cc769b2c98fff215e18528fb49bb6f342823de0da222cb78ca9787f91778b543626857e0378e3e3b203c80f5f254e6bba2190bab8cd78adb59420e6b0
|
7
|
+
data.tar.gz: c4a24d51f514832f4d93ed2f5028756813a3c59b94516dff9748db9a448816f81b26bf59e9a2f2669a0a1bafba54669db94f00f38d0aeaa9cab27de21ec7ccee
|
@@ -2,12 +2,17 @@ module Fastlane
|
|
2
2
|
module Actions
|
3
3
|
class GsErrorAction < Action
|
4
4
|
def self.run(params)
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
begin
|
6
|
+
version_name, v = Helper::GsProjectFlowIosHelper.version_for_lane(params[:lane], Helper::GsProjectFlowIosHelper::BuildState::FAILURE)
|
7
|
+
# ENV["PROJECT_NAME"] - переменка окружения, используемая в iOS, как читаемое название проекта + ключ в json файлике версий
|
8
|
+
message = ENV["PROJECT_NAME"] + " " + version_name + " build has failed. Reason:\n " + params[:exception].message
|
9
|
+
|
10
|
+
UI.important(message)
|
11
|
+
Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane])
|
12
|
+
rescue => ex
|
13
|
+
message = "Build has failed on error lane. Reason main lane failed:\n " + params[:exception].message + " \n Reason error lane failed:\n" + ex.message
|
14
|
+
Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane])
|
15
|
+
end
|
11
16
|
end
|
12
17
|
|
13
18
|
def self.description
|