Commit b2467147 by Ben Patterson

Script should exit non-zero if there is an error raised.

Also, help with an echo.
parent 8295e742
#!/usr/bin/env bash
set -e
source $HOME/jenkins_env
# Clear the mongo database
......@@ -27,4 +29,5 @@ PATH=$PATH:node_modules/.bin
# Manage the npm cache on Jenkins.
# (In this case, remove it. That ensures from run-to-run, it is a clean npm environment)
echo "--> Cleaning npm cache"
npm cache clean
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment