Bugfix: failed to generete gui files in stable/euphrates in CI 91/49191/1 stable/euphrates
authorchenjiankun <chenjiankun1@huawei.com>
Mon, 18 Dec 2017 10:14:30 +0000 (10:14 +0000)
committerchenjiankun <chenjiankun1@huawei.com>
Mon, 18 Dec 2017 10:14:30 +0000 (10:14 +0000)
JIRA: YARDSTICK-898

Now the gui files failed to build in stable branch in CI.
(local work, CI master work, CI stable not work).
The reason is stable using ubuntu 14.04 and the nodejs version is 0.10.25.
We need to update it.

Change-Id: I15b9efb91eb6fc1e3245cf827c130d408034eae5
Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
gui/gui.sh

index 12a1492..f75357a 100755 (executable)
@@ -1,5 +1,5 @@
+sh -c 'curl -sL https://deb.nodesource.com/setup_8.x | bash -'
 apt-get install -y nodejs
-apt-get install -y npm
 ln -s /usr/bin/nodejs /usr/bin/node
 npm install
 npm install -g grunt