Repository: cordova-paramedic Updated Branches: refs/heads/master 2821809db -> d36105760
Add platforms with --nofetch Project: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/commit/d3610576 Tree: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/tree/d3610576 Diff: http://git-wip-us.apache.org/repos/asf/cordova-paramedic/diff/d3610576 Branch: refs/heads/master Commit: d36105760d2835a3705b8993e914d5d69c271a80 Parents: 2821809 Author: Alexander Sorokin <[email protected]> Authored: Tue Apr 25 09:18:51 2017 +0300 Committer: Alexander Sorokin <[email protected]> Committed: Tue Apr 25 09:18:51 2017 +0300 ---------------------------------------------------------------------- lib/paramedic.js | 2 +- lib/utils/utilities.js | 31 ++++++++++++++++--------------- 2 files changed, 17 insertions(+), 16 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/d3610576/lib/paramedic.js ---------------------------------------------------------------------- diff --git a/lib/paramedic.js b/lib/paramedic.js index 9464f42..7792bf4 100644 --- a/lib/paramedic.js +++ b/lib/paramedic.js @@ -182,7 +182,7 @@ ParamedicRunner.prototype.installPlatform = function () { var platformId = this.config.getPlatformId(); logger.info('cordova-paramedic: adding platform ' + platform); - return execPromise(this.config.getCli() + ' platform add ' + platform + util.PARAMEDIC_COMMON_CLI_ARGS) + return execPromise(this.config.getCli() + ' platform add ' + platform + util.PARAMEDIC_COMMON_CLI_ARGS + util.PARAMEDIC_PLATFORM_ADD_ARGS) .then(function () { logger.info('cordova-paramedic: successfully finished adding platform ' + platform); if (platformId === 'android' && self.config.isCI()) { http://git-wip-us.apache.org/repos/asf/cordova-paramedic/blob/d3610576/lib/utils/utilities.js ---------------------------------------------------------------------- diff --git a/lib/utils/utilities.js b/lib/utils/utilities.js index 33c0bf9..865211b 100644 --- a/lib/utils/utilities.js +++ b/lib/utils/utilities.js @@ -156,21 +156,22 @@ function killProcess(pid, callback) { } module.exports = { - ANDROID: 'android', - IOS: 'ios', - WINDOWS: 'windows', - PARAMEDIC_DEFAULT_APP_NAME: 'io.cordova.hellocordova', - PARAMEDIC_COMMON_CLI_ARGS: ' --no-telemetry --no-update-notifier', - PARAMEDIC_PLUGIN_ADD_ARGS: ' --nofetch', - SAUCE_USER_ENV_VAR: 'SAUCE_USER', - SAUCE_KEY_ENV_VAR: 'SAUCE_ACCESS_KEY', - SAUCE_HOST: 'ondemand.saucelabs.com', - SAUCE_PORT: 80, - SAUCE_MAX_DURATION: 5400, // in seconds - DEFAULT_ENCODING: 'utf-8', - WD_TIMEOUT: 15 * 60 * 1000, - WD_RETRY_DELAY: 15000, - WD_RETRIES: 5, + ANDROID: 'android', + IOS: 'ios', + WINDOWS: 'windows', + PARAMEDIC_DEFAULT_APP_NAME: 'io.cordova.hellocordova', + PARAMEDIC_COMMON_CLI_ARGS: ' --no-telemetry --no-update-notifier', + PARAMEDIC_PLUGIN_ADD_ARGS: ' --nofetch', + PARAMEDIC_PLATFORM_ADD_ARGS: ' --nofetch', + SAUCE_USER_ENV_VAR: 'SAUCE_USER', + SAUCE_KEY_ENV_VAR: 'SAUCE_ACCESS_KEY', + SAUCE_HOST: 'ondemand.saucelabs.com', + SAUCE_PORT: 80, + SAUCE_MAX_DURATION: 5400, // in seconds + DEFAULT_ENCODING: 'utf-8', + WD_TIMEOUT: 15 * 60 * 1000, + WD_RETRY_DELAY: 15000, + WD_RETRIES: 5, DEFAULT_LOG_TIME: 15, DEFAULT_LOG_TIME_ADDITIONAL: 2, --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
