fastlane-plugin-gs_project_flow_ios 0.4.34 → 0.4.35
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1397ba36e69d1faff78c891f3997cd4ee8bcbee
|
|
4
|
+
data.tar.gz: 20fe7c2142d4ed31fe95e67144307ae3d491fa6e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 3e1ea08c82143db3fee32284ec68bd3c014b2964f01dd8ca96ed8e52ab6afbd04522ed860e71651611ae7286721f912e486fa5d0ac7ec275d3763a3f7a3c6f5c
|
|
7
|
+
data.tar.gz: 35981b47d3395f0adbacd50a11de62535d1c7ecf57906b88d0e41f39a6b01a2a617e0f3491b20592dee840359cf45b41f2dbd1b2347a48436c248fb1658887ac
|
|
@@ -8,10 +8,10 @@ module Fastlane
|
|
|
8
8
|
message = ENV["PROJECT_NAME"] + " " + version_name + " build has failed. Reason:\n " + params[:exception].message
|
|
9
9
|
|
|
10
10
|
UI.important(message)
|
|
11
|
-
Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane])
|
|
11
|
+
Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane], params[:options][:restart_build_url])
|
|
12
12
|
rescue => ex
|
|
13
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])
|
|
14
|
+
Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane], params[:options][:restart_build_url])
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
|
|
@@ -41,7 +41,11 @@ module Fastlane
|
|
|
41
41
|
FastlaneCore::ConfigItem.new(key: :exception,
|
|
42
42
|
description: "A description of your option",
|
|
43
43
|
optional: false,
|
|
44
|
-
is_string: false)
|
|
44
|
+
is_string: false),
|
|
45
|
+
FastlaneCore::ConfigItem.new(key: :options,
|
|
46
|
+
description: "Additional options",
|
|
47
|
+
optional: true,
|
|
48
|
+
type: Object)
|
|
45
49
|
]
|
|
46
50
|
end
|
|
47
51
|
|
|
@@ -103,7 +103,7 @@ module Fastlane
|
|
|
103
103
|
SUCCESS = "successful"
|
|
104
104
|
FAILURE = "failed"
|
|
105
105
|
end
|
|
106
|
-
def self.send_report(message, buildState, lane)
|
|
106
|
+
def self.send_report(message, buildState, lane, restartBuildURL = nil)
|
|
107
107
|
# Dir.chdir Dir.pwd+"/../../../../" do
|
|
108
108
|
UI.message(Dir.pwd)
|
|
109
109
|
params = Hash.new
|
|
@@ -113,6 +113,9 @@ module Fastlane
|
|
|
113
113
|
if buildState == BuildState::FAILURE
|
|
114
114
|
params["message"] = message
|
|
115
115
|
end
|
|
116
|
+
if restartBuildURL != nil
|
|
117
|
+
params["restart_build_url"] = restartBuildURL
|
|
118
|
+
end
|
|
116
119
|
|
|
117
120
|
if lane == :beta
|
|
118
121
|
params["cmd"] = "beta"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fastlane-plugin-gs_project_flow_ios
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.35
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Сергей Веселовский
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2018-
|
|
11
|
+
date: 2018-06-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|