diff --git a/scripts/jenkins-common.sh b/scripts/jenkins-common.sh index 3cfff5bebf..375eba3a0a 100644 --- a/scripts/jenkins-common.sh +++ b/scripts/jenkins-common.sh @@ -1,5 +1,7 @@ #!/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