mirror of
https://github.com/afollestad/nock-nock.git
synced 2025-04-20 03:25:14 +00:00
Add default Fabric props that should fix CI
This commit is contained in:
parent
571e7ebff3
commit
f86ccbbe0c
1 changed files with 2 additions and 5 deletions
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue