Merge pull request #3928 from murgatroid99/node_jenkins_xml_report_retry

Added per-test XML reports for Node tests on Jenkins
pull/3939/head
Nicolas Noble 9 years ago
commit 5cca9896a1
  1. 1
      package.json
  2. 2
      tools/run_tests/run_node.sh

@ -38,6 +38,7 @@
"jshint": "^2.5.0", "jshint": "^2.5.0",
"minimist": "^1.1.0", "minimist": "^1.1.0",
"mocha": "~1.21.0", "mocha": "~1.21.0",
"mocha-jenkins-reporter": "^0.1.9",
"mustache": "^2.0.0" "mustache": "^2.0.0"
}, },
"engines": { "engines": {

@ -51,5 +51,5 @@ then
echo '<html><head><meta http-equiv="refresh" content="0;URL=lcov-report/index.html"></head></html>' > \ echo '<html><head><meta http-equiv="refresh" content="0;URL=lcov-report/index.html"></head></html>' > \
../reports/node_coverage/index.html ../reports/node_coverage/index.html
else else
./node_modules/mocha/bin/mocha --timeout 8000 src/node/test JUNIT_REPORT_PATH=src/node/reports.xml JUNIT_REPORT_STACK=1 ./node_modules/.bin/mocha --reporter mocha-jenkins-reporter src/node/test || true
fi fi

Loading…
Cancel
Save