This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| task testOnPlantation(dependsOn: [ 'assembleDebug', 'assembleAndroidTest', 'performTesting']) { | |
| performTesting { | |
| def shouldLogToWatson = false;// Boolean.parseBoolean((String) System.env.shouldLogToWatson) | |
| def buildType = (String) System.env.buildType | |
| def buildBranch = (String) System.env.buildBranch | |
| def buildVersion = android.defaultConfig.versionName | |
| serverAddress = 'http://172.18.89.85:10800' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| task testOnPlantation(dependsOn: ['pullInstrumentationApks', 'assembleDebug', 'assembleAndroidTest', 'performTesting']) { | |
| performTesting.mustRunAfter pullInstrumentationApks | |
| performTesting { | |
| def startTime = System.currentTimeMillis(); | |
| def shouldLogToWatson = Boolean.parseBoolean((String) System.env.shouldLogToWatson) | |
| def buildType = (String) System.env.buildType | |
| def buildBranch = (String) System.env.buildBranch |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var config = require('config'); | |
| var log = require('libs/log')(module); | |
| var WebSocketServer = require('ws').Server; | |
| /* Запус websocket-сервера */ | |
| var wsServer = new WebSocketServer({ | |
| host: config.get('ipAddress'), | |
| port: config.get('wsServerPort') | |
| }); |