Browse Source

Merge pull request #2 in EAGLE6/mungedb-aggregate from feature/DEVOPS-400-update-builds-to-enforce-status to release/v0.6.9+2014.03.07

* commit '8c036140d344f8d1d170f5f61687e144e00f8bbb':
  DEVOPS-400 fixed build to enforce the status quo
Thomas A. Bell 11 years ago
parent
commit
adb42a0176
1 changed files with 1 additions and 1 deletions
  1. 1 1
      npm_scripts/test/test.sh

+ 1 - 1
npm_scripts/test/test.sh

@@ -245,7 +245,7 @@ if [ -z "$NO_COVERAGE" ]; then
 		&& mv "$CODE_DIR.ORIGINAL" "$CODE_DIR"	\
 		|| die "ERROR: Unable to put code directory \"$CODE_DIR.ORIGNAL\" back where it belongs!"
 
-	node -e "if (JSON.parse(require('fs').readFileSync('$REPORT_FILE_BASE.json')).coverage < 100) { console.error('Less than 100% code coverage! See code coverage report at https://bamboo.rd.rcg.local/$bamboo_buildplanname-$bamboo_buildnumber/artifact/JOB1/code-coverage/$PKG_NAME-coverage.html'); process.exit(1); }"
+	node -e "if (JSON.parse(require('fs').readFileSync('$REPORT_FILE_BASE.json')).coverage < 91) { console.error('Less than 91% code coverage! See code coverage report at https://bamboo.rd.rcg.local/$bamboo_buildplanname-$bamboo_buildnumber/artifact/JOB1/code-coverage/$PKG_NAME-coverage.html'); process.exit(1); }"
 
 	echo
 fi