From 926d951155f8c7e649906df1ff4922bfa5fbf93f Mon Sep 17 00:00:00 2001 From: Kevin Duret Date: Tue, 19 Jul 2022 09:39:27 +0200 Subject: [PATCH] fix(ci): fix debian packaging with freshly instanciated jenkins slave (#11398) Refs: MON-14377 --- ci/scripts/centreon-deb-package.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ci/scripts/centreon-deb-package.sh b/ci/scripts/centreon-deb-package.sh index 5c77c9e3de0..6f5db80743e 100755 --- a/ci/scripts/centreon-deb-package.sh +++ b/ci/scripts/centreon-deb-package.sh @@ -33,10 +33,9 @@ for i in lang/* ; do done rm -rf lang -# Generate API documentation. -apt install -y npm && sleep 30 -npm install -g redoc-cli -/usr/local/bin/redoc-cli bundle --options.hideDownloadButton=true doc/API/centreon-api-v${MAJOR_VERSION}.yaml -o ../centreon-api-v${MAJOR_VERSION}.html +# Install npm dependency +apt-get update +apt install -y npm # Make tar with original content cd ..