chore(jenkins): fix node version chooser in build scripts

The `set-node-version.sh` script was being run in its own shell and so
was not actually changing the current version of node.
This commit is contained in:
Peter Bacon Darwin
2016-03-16 10:29:14 +00:00
parent eb16611c51
commit 511503ef3c
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -4,11 +4,11 @@ echo "#################################"
echo "#### Jenkins Build ############"
echo "#################################"
source scripts/jenkins/set-node-version.sh
# Enable tracing and exit on first failure
set -xe
scripts/jenkins/set-node-version.sh
# This is the default set of browsers to use on the CI server unless overridden via env variable
if [[ -z "$BROWSERS" ]]
then
+1 -1
View File
@@ -35,7 +35,7 @@ function init {
}
function build {
./set-node-version.sh
source ./set-node-version.sh
cd ../..
npm install -g grunt-cli