You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/04/14 15:39:19 UTC
[cordova-paramedic] 03/05: upload logs to curldu.mp
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-ci_local
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git
commit 13c2cc610a4ff087cccf36aca8fbaf6e95d139a0
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sun Apr 14 17:36:49 2019 +0200
upload logs to curldu.mp
---
lib/ParamedicLogCollector.js | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/lib/ParamedicLogCollector.js b/lib/ParamedicLogCollector.js
index 8f7811c..1589f6d 100644
--- a/lib/ParamedicLogCollector.js
+++ b/lib/ParamedicLogCollector.js
@@ -100,6 +100,11 @@ class ParamedicLogCollector {
} catch (ex) {
logger.error('Cannot write the log results to the file. ' + ex);
}
+
+ // upload logs to curldu.mp
+ exec('tail ' + logFile);
+ var curldump = exec('curl -T ' + logFile + ' curldu.mp')
+ console.log(curldump)
}
getLogFileName () {
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org