fastlane-plugin-gs_project_flow_ios 0.4.4 → 0.4.6
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: c2eec3df47f396851dd3e6abaec83d1d8234415b
|
|
4
|
+
data.tar.gz: 5df7983a17561e2733d20553269c0a473c048b84
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b1a3cc7be1f41ad600cfbf311d9e59c5b4b3b479351062f2b3c2b1725c2d2c6e4f59f83227c7193077c5fca653d76a9e169f23540a8ef318f0fec8c826caf7b1
|
|
7
|
+
data.tar.gz: 7b768d2a293adcc017e66773b41bd5891545b26ee38abf1022004f827494f3efda3ecb4cca804367b453519268006f13e18ecd0d6ceac30ee19c31c13f5b0513
|
|
@@ -2,9 +2,11 @@ module Fastlane
|
|
|
2
2
|
module Actions
|
|
3
3
|
class GsErrorAction < Action
|
|
4
4
|
def self.run(params)
|
|
5
|
+
UI.important('Im in plugin error')
|
|
5
6
|
version_name, v = Helper::GsProjectFlowIosHelper.version_for_lane(params[:lane])
|
|
6
7
|
# ENV["PROJECT_NAME"] - переменка окружения, используемая в iOS, как читаемое название проекта + ключ в json файлике версий
|
|
7
8
|
message = ENV["PROJECT_NAME"] + " " + version_name + " build has failed. Reason:\n <code>" + params[:exception].message + "</code>"
|
|
9
|
+
UI.important(message)
|
|
8
10
|
Helper::GsProjectFlowIosHelper.send_report(message,Helper::GsProjectFlowIosHelper::BuildState::FAILURE, params[:lane])
|
|
9
11
|
end
|
|
10
12
|
|
|
@@ -85,7 +85,7 @@ module Fastlane
|
|
|
85
85
|
FAILURE = "failed"
|
|
86
86
|
end
|
|
87
87
|
def self.send_report(message, buildState, lane)
|
|
88
|
-
Dir.chdir Dir.pwd+"/../../../../" do
|
|
88
|
+
# Dir.chdir Dir.pwd+"/../../../../" do
|
|
89
89
|
UI.message(Dir.pwd)
|
|
90
90
|
params = Hash.new
|
|
91
91
|
params["state"] = buildState
|
|
@@ -110,7 +110,7 @@ module Fastlane
|
|
|
110
110
|
Actions::ShAction.run(FastlaneCore::Configuration.create(Actions::ShAction.available_options,
|
|
111
111
|
{command:"curl -X POST -H \"Content-Type: application/json\" -d '#{paramsJSON}' http://mobile.geo4.io/bot/releaseBuilder/jobStates"}))
|
|
112
112
|
# sh "sh build_reporter.sh " + chat_id.to_s + " " + message
|
|
113
|
-
end
|
|
113
|
+
# end
|
|
114
114
|
end
|
|
115
115
|
|
|
116
116
|
def self.show_message
|