8000 chore(jenkins): fix node version chooser in build scripts · coderofsalvation/angular.js@03e6fb3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 03e6fb3

Browse files
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.
1 parent 4fc9cf6 commit 03e6fb3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/jenkins/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ echo "#################################"
44
echo "#### Jenkins Build ############"
55
echo "#################################"
66

7+
source scripts/jenkins/set-node-version.sh
8+
79
# Enable tracing and exit on first failure
810
set -xe
911

10-
scripts/jenkins/set-node-version.sh
11-
1212
# This is the default set of browsers to use on the CI server unless overridden via env variable
1313
if [[ -z "$BROWSERS" ]]
1414
then

scripts/jenkins/release.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function init {
3535
}
3636

3737
function build {
38-
./set-node-version.sh
38+
source ./set-node-version.sh
3939
cd ../..
4040

4141
npm install -g grunt-cli

0 commit comments

Comments
 (0)
0