export PATH=$M2_HOME/bin:$PATH
}
+function installNode {
+ set +u
+ source ~/.nvm/nvm.sh && nvm install 8
+ set -u
+}
+
#
# Replaces the version defined in sources, usually x.y-SNAPSHOT,
# by a version identifying the build.
installJdk8
installMaven
+ installNode
fixBuildVersion
# Minimal Maven settings
;;
WEB_TESTS)
- set +u
- source ~/.nvm/nvm.sh && nvm install 6
+ installNode
curl -o- -L https://yarnpkg.com/install.sh | bash
export PATH=$HOME/.yarn/bin:$PATH
cd server/sonar-web && yarn && yarn validate