aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2017-12-18 10:14:30 +0000
committerchenjiankun <chenjiankun1@huawei.com>2017-12-18 10:14:30 +0000
commit3431cd1801023e2ee09b520fc9f7a890677ff7b1 (patch)
tree2033a4856ae59e60abb732cbf3575c3c61583dac
parent22c32132463046ab0759295aa2f7ed840c75e253 (diff)
Bugfix: failed to generete gui files in stable/euphrates in CIstable/euphrates
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>
-rwxr-xr-xgui/gui.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/gui.sh b/gui/gui.sh
index 12a14923e..f75357af1 100755
--- a/gui/gui.sh
+++ b/gui/gui.sh
@@ -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