Add default Fabric props that should fix CI

This commit is contained in:
Aidan Follestad 2019-01-25 11:08:18 -08:00
parent 571e7ebff3
commit f86ccbbe0c

View file

@ -1,11 +1,11 @@
apply plugin: 'io.fabric'
ext.getFabricApiKey = {
return System.getenv('FABRIC_APIKEY') ?: "0"
return System.getenv('FABRIC_APIKEY') ?: "xxxe76c4xxxx97e8cxxxx0135e9d46f5a2xxx"
}
ext.getFabricApiSecret = {
return System.getenv('FABRIC_APISECRET') ?: "0"
return System.getenv('FABRIC_APISECRET') ?: "xx68f6074dxxxxxc11dxxx97c172e8ebf0"
}
def buildFabricProperties() {
@ -13,9 +13,6 @@ def buildFabricProperties() {
def apiSecret = getFabricApiSecret()
def apiKey = getFabricApiKey()
if (apiSecret == "0" || apiKey == "0") {
logger.warn("API key and/or secret env variables not found, defaulting to 0.")
}
if (propertiesFile.exists()) {
propertiesFile.delete()
}