From 74230edfe46770435c40ba79d55bf4996ff93ef9 Mon Sep 17 00:00:00 2001 From: Tiago Melo Date: Wed, 18 Jul 2018 16:11:40 +0200 Subject: [PATCH] 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 --- src/pybind/mgr/dashboard/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pybind/mgr/dashboard/CMakeLists.txt b/src/pybind/mgr/dashboard/CMakeLists.txt index 7aa8b481e6057..239af838de8ae 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( -- 2.39.5