summaryrefslogtreecommitdiffstats
path: root/utils/test/reporting/pages/angular.sh
diff options
context:
space:
mode:
Diffstat (limited to 'utils/test/reporting/pages/angular.sh')
-rwxr-xr-xutils/test/reporting/pages/angular.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/utils/test/reporting/pages/angular.sh b/utils/test/reporting/pages/angular.sh
index a7f167516..080f27bb7 100755
--- a/utils/test/reporting/pages/angular.sh
+++ b/utils/test/reporting/pages/angular.sh
@@ -1,10 +1,12 @@
: ${SERVER_URL:='http://testresults.opnfv.org/reporting/api'}
-echo "var BASE_URL = 'http://${SERVER_URL}/landing-page'" > app/scripts/app.config.js
+echo "var BASE_URL = 'http://${SERVER_URL}/landing-page'" >> app/scripts/app.config.js
+echo "var PROJECT_URL = 'http://${SERVER_URL}'" >> app/scripts/app.config.js
apt-get install -y nodejs
apt-get install -y npm
npm install
-npm install -g grunt bower
-bower install --allow-root
+npm install -g grunt
+npm install -g bower
+bower install --force --allow-root
grunt build