less noisy fastlane slack notifications

Signed-off-by: Igor Mandrigin <i@mandrigin.ru>
This commit is contained in:
Chad 2018-08-17 11:14:11 +02:00 committed by Igor Mandrigin
parent 6a03d90432
commit 70bd6d0070
No known key found for this signature in database
GPG Key ID: 4A0EDDE26E66BC8B
1 changed files with 14 additions and 9 deletions

View File

@ -15,7 +15,7 @@
def unlock_keychain_if_needed
if ENV["KEYCHAIN_PASSWORD"]
unlock_keychain(
path:"login.keychain",
path:"login.keychain",
password:ENV["KEYCHAIN_PASSWORD"],
set_default: true)
end
@ -34,7 +34,7 @@ def upload_to_saucelabs(file)
upload_result = sh(
"curl",
"-u", username + ':' + key,
"-X", "POST",
"-X", "POST",
"-H", "Content-Type: application/octet-stream",
url,
# this command has `status-react/fastlane` as cwd
@ -49,7 +49,7 @@ def upload_to_saucelabs(file)
end
# builds an ios app with ad-hoc configuration and put it
# builds an ios app with ad-hoc configuration and put it
# to "status-adhoc" output folder
def build_ios_adhoc
match(
@ -86,7 +86,8 @@ def notify_about_new_build(source, url)
slack(
message: msg,
slack_url: ENV["SLACK_URL"]
slack_url: ENV["SLACK_URL"],
default_payloads: []
)
change_id = ENV["CHANGE_ID"]
@ -161,7 +162,8 @@ platform :ios do
slack(
message: "New nightly build uploaded to TestFlight",
slack_url: ENV["SLACK_URL"]
slack_url: ENV["SLACK_URL"],
default_payloads: []
)
# additional .ipa is for diawi
@ -198,7 +200,8 @@ platform :ios do
)
slack(
message: "New release build uploaded to TestFlight",
slack_url: ENV["SLACK_URL"]
slack_url: ENV["SLACK_URL"],
default_payloads: []
)
end
@ -235,7 +238,7 @@ platform :ios do
'../ci/download-realm.js',
'../node_modules/realm/scripts',
remove_destination: true
)
)
end
end
@ -253,7 +256,8 @@ platform :android do
slack(
message: "New nightly build uploaded to Google Play",
slack_url: ENV["SLACK_URL"]
slack_url: ENV["SLACK_URL"],
default_payloads: []
)
end
lane :release do
@ -266,7 +270,8 @@ platform :android do
)
slack(
message: "New release build uploaded to Google Play",
slack_url: ENV["SLACK_URL"]
slack_url: ENV["SLACK_URL"],
default_payloads: []
)
end