From: Tiago Melo Date: Wed, 18 Jul 2018 14:11:40 +0000 (+0200) Subject: mgr/dashboard: Remove angular build progress logs during cmake X-Git-Tag: v14.0.1~800^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=74230edfe46770435c40ba79d55bf4996ff93ef9;p=ceph.git mgr/dashboard: Remove angular build progress logs during cmake Currently Angular CLI is polluting the jenkins logs, by inserting a new line each time the build process is updated. With this change Angular CLI will only output the necessary information about the start and end of the build. Signed-off-by: Tiago Melo --- diff --git a/src/pybind/mgr/dashboard/CMakeLists.txt b/src/pybind/mgr/dashboard/CMakeLists.txt index 7aa8b481e60..239af838de8 100644 --- a/src/pybind/mgr/dashboard/CMakeLists.txt +++ b/src/pybind/mgr/dashboard/CMakeLists.txt @@ -76,9 +76,9 @@ file( frontend/src/*/*/*/*/*/*.html) if(NOT CMAKE_BUILD_TYPE STREQUAL Debug) - set(npm_command npm run build -- --prod) + set(npm_command npm run build -- --prod --progress=false) else() - set(npm_command npm run build) + set(npm_command npm run build -- --progress=false) endif() add_npm_command(